2013-01-18 20:44:03

by wireless

[permalink] [raw]
Subject: [ANN] crda: v1.1.3


A new release of crda (v1.1.3) is available at:

http://wireless.kernel.org/download/crda/crda-1.1.3.tar.bz2

SHA1 sum: 6e0adbfc0f5418a03d7d708bd39d52cd1325b511

Here is the short log of the changes (since v1.1.2)
included in this release:

Luis R. Rodriguez (15):
crda: synch up nl80211.h
crda: fix null string assumption for alpha2
crda: add support to send DFS master region
crda: use stdint.h instead of linux/types.h
crda: move country2rd() and its helper to reglib.c
crda: add a reglib iterator reglib_for_each_country()
crda: make intersect.c use reglib_for_each_country()
crda: close fd upon leaving
crda: add new reglib_get_country_alpha2()
crda: add dfs_region to the ieee80211_regdomain data structure
crda: make crda use reglib_get_country_alpha2()
crda: clean header files
crda: make country2rd() static
crda: make usage of regdb.h exclusive to reglib.c
crda: rename reglib_get_*() routines

Stefan Lippers-Hollmann (1):
crda: add nested support for libnl-3.2



2013-01-21 20:06:13

by Luis Chamberlain

[permalink] [raw]
Subject: Re: [ANN] crda: v1.1.3

On Mon, Jan 21, 2013 at 12:05:05PM -0800, Luis R. Rodriguez wrote:
> Its just a warning but can you try adding the following path (in another e-mail)

This patch:

diff --git a/reglib.c b/reglib.c
index bc81974..1fafd37 100644
--- a/reglib.c
+++ b/reglib.c
@@ -9,6 +9,7 @@
#include <fcntl.h>
#include <stdbool.h>
#include <unistd.h>
+#include <string.h>

#include <arpa/inet.h> /* ntohl */


2013-01-21 20:05:27

by Luis Chamberlain

[permalink] [raw]
Subject: Re: [ANN] crda: v1.1.3

On Fri, Jan 18, 2013 at 6:28 PM, Richard Farina <[email protected]> wrote:
> On 01/18/2013 03:44 PM, [email protected] wrote:
>> A new release of crda (v1.1.3) is available at:
>>
>> http://wireless.kernel.org/download/crda/crda-1.1.3.tar.bz2
>>
>> SHA1 sum: 6e0adbfc0f5418a03d7d708bd39d52cd1325b511
>>
>> Here is the short log of the changes (since v1.1.2)
>> included in this release:
>>
>> Luis R. Rodriguez (15):
>> crda: synch up nl80211.h
>> crda: fix null string assumption for alpha2
>> crda: add support to send DFS master region
>> crda: use stdint.h instead of linux/types.h
>> crda: move country2rd() and its helper to reglib.c
>> crda: add a reglib iterator reglib_for_each_country()
>> crda: make intersect.c use reglib_for_each_country()
>> crda: close fd upon leaving
>> crda: add new reglib_get_country_alpha2()
>> crda: add dfs_region to the ieee80211_regdomain data structure
>> crda: make crda use reglib_get_country_alpha2()
>> crda: clean header files
>> crda: make country2rd() static
>> crda: make usage of regdb.h exclusive to reglib.c
>> crda: rename reglib_get_*() routines
>>
>> Stefan Lippers-Hollmann (1):
>> crda: add nested support for libnl-3.2
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
>> the body of a message to [email protected]
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
>
> I get three warnings when building that look like that may matter:

Its just a warning but can you try adding the following path (in another e-mail)

Luis

2013-01-19 02:26:59

by Sid Hayn

[permalink] [raw]
Subject: Re: [ANN] crda: v1.1.3

On 01/18/2013 03:44 PM, [email protected] wrote:
> A new release of crda (v1.1.3) is available at:
>
> http://wireless.kernel.org/download/crda/crda-1.1.3.tar.bz2
>
> SHA1 sum: 6e0adbfc0f5418a03d7d708bd39d52cd1325b511
>
> Here is the short log of the changes (since v1.1.2)
> included in this release:
>
> Luis R. Rodriguez (15):
> crda: synch up nl80211.h
> crda: fix null string assumption for alpha2
> crda: add support to send DFS master region
> crda: use stdint.h instead of linux/types.h
> crda: move country2rd() and its helper to reglib.c
> crda: add a reglib iterator reglib_for_each_country()
> crda: make intersect.c use reglib_for_each_country()
> crda: close fd upon leaving
> crda: add new reglib_get_country_alpha2()
> crda: add dfs_region to the ieee80211_regdomain data structure
> crda: make crda use reglib_get_country_alpha2()
> crda: clean header files
> crda: make country2rd() static
> crda: make usage of regdb.h exclusive to reglib.c
> crda: rename reglib_get_*() routines
>
> Stefan Lippers-Hollmann (1):
> crda: add nested support for libnl-3.2
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>

I get three warnings when building that look like that may matter:

make -j5 -l4 UDEV_RULE_DIR=/lib/udev/rules.d
REG_BIN=/usr/lib64/crda/regulatory.bin USE_OPENSSL=1
CC=x86_64-pc-linux-gnu-gcc all_noverify V=1
x86_64-pc-linux-gnu-gcc -c -Os -pipe -march=native
-frecord-gcc-switches -ggdb -Wall -g -DUSE_OPENSSL
-DPUBKEY_DIR=\"/etc/wireless-regdb/pubkeys\" `pkg-config --cflags
openssl` -DCONFIG_LIBNL30 `pkg-config --cflags libnl-3.0` -o crda.o crda.c
x86_64-pc-linux-gnu-gcc -c -Os -pipe -march=native
-frecord-gcc-switches -ggdb -Wall -g -DUSE_OPENSSL
-DPUBKEY_DIR=\"/etc/wireless-regdb/pubkeys\" `pkg-config --cflags
openssl` -DCONFIG_LIBNL30 `pkg-config --cflags libnl-3.0` -o intersect.o
intersect.c
./utils/key2pub.py --ssl pubkeys/linville.key.pub.pem keys-ssl.c
x86_64-pc-linux-gnu-gcc -c -Os -pipe -march=native
-frecord-gcc-switches -ggdb -Wall -g -DUSE_OPENSSL
-DPUBKEY_DIR=\"/etc/wireless-regdb/pubkeys\" `pkg-config --cflags
openssl` -DCONFIG_LIBNL30 `pkg-config --cflags libnl-3.0` -o
print-regdom.o print-regdom.c
x86_64-pc-linux-gnu-gcc -c -Os -pipe -march=native
-frecord-gcc-switches -ggdb -Wall -g -DUSE_OPENSSL
-DPUBKEY_DIR=\"/etc/wireless-regdb/pubkeys\" `pkg-config --cflags
openssl` -DCONFIG_LIBNL30 `pkg-config --cflags libnl-3.0` -o regdbdump.o
regdbdump.c
x86_64-pc-linux-gnu-gcc -c -Os -pipe -march=native
-frecord-gcc-switches -ggdb -Wall -g -DUSE_OPENSSL
-DPUBKEY_DIR=\"/etc/wireless-regdb/pubkeys\" `pkg-config --cflags
openssl` -DCONFIG_LIBNL30 `pkg-config --cflags libnl-3.0` -o reglib.o
reglib.c
reglib.c: In function ?country2rd?:
reglib.c:213:2: warning: implicit declaration of function ?memset?
[-Wimplicit-function-declaration]
reglib.c:213:2: warning: incompatible implicit declaration of built-in
function ?memset? [enabled by default]
reglib.c: In function ?reglib_get_rd_alpha2?:
reglib.c:344:3: warning: implicit declaration of function ?memcmp?
[-Wimplicit-function-declaration]
x86_64-pc-linux-gnu-gcc -Os -pipe -march=native -frecord-gcc-switches
-ggdb -Wall -g -DUSE_OPENSSL
-DPUBKEY_DIR=\"/etc/wireless-regdb/pubkeys\" `pkg-config --cflags
openssl` -DCONFIG_LIBNL30 `pkg-config --cflags libnl-3.0` -Wl,-O1
-Wl,--as-needed -Wl,--hash-style=gnu -o crda reglib.o crda.o `pkg-config
--libs openssl` -lnl-genl-3 -lnl-3 `pkg-config --libs libnl-3.0`
x86_64-pc-linux-gnu-gcc -Os -pipe -march=native -frecord-gcc-switches
-ggdb -Wall -g -DUSE_OPENSSL
-DPUBKEY_DIR=\"/etc/wireless-regdb/pubkeys\" `pkg-config --cflags
openssl` -DCONFIG_LIBNL30 `pkg-config --cflags libnl-3.0` -Wl,-O1
-Wl,--as-needed -Wl,--hash-style=gnu -o intersect reglib.o intersect.o
print-regdom.o `pkg-config --libs openssl`
x86_64-pc-linux-gnu-gcc -Os -pipe -march=native -frecord-gcc-switches
-ggdb -Wall -g -DUSE_OPENSSL
-DPUBKEY_DIR=\"/etc/wireless-regdb/pubkeys\" `pkg-config --cflags
openssl` -DCONFIG_LIBNL30 `pkg-config --cflags libnl-3.0` -Wl,-O1
-Wl,--as-needed -Wl,--hash-style=gnu -o regdbdump reglib.o regdbdump.o
print-regdom.o `pkg-config --libs openssl`

Thanks,
Zero

2013-01-21 20:20:33

by Sid Hayn

[permalink] [raw]
Subject: Re: [ANN] crda: v1.1.3

On 01/21/2013 03:06 PM, Luis R. Rodriguez wrote:
> diff --git a/reglib.c b/reglib.c
> index bc81974..1fafd37 100644
> --- a/reglib.c
> +++ b/reglib.c
> @@ -9,6 +9,7 @@
> #include <fcntl.h>
> #include <stdbool.h>
> #include <unistd.h>
> +#include <string.h>
>
> #include <arpa/inet.h> /* ntohl */

This patch fixes the warnings, thank you.

Normally warnings are not a big deal, but often they later become errors
so I figured it was worth reporting. Glad to see it fixed ;-)

Thanks,
Zero

2013-01-21 20:24:03

by Luis Chamberlain

[permalink] [raw]
Subject: Re: [ANN] crda: v1.1.3

On Mon, Jan 21, 2013 at 12:21 PM, Richard Farina <[email protected]> wrote:
> On 01/21/2013 03:06 PM, Luis R. Rodriguez wrote:
>> diff --git a/reglib.c b/reglib.c
>> index bc81974..1fafd37 100644
>> --- a/reglib.c
>> +++ b/reglib.c
>> @@ -9,6 +9,7 @@
>> #include <fcntl.h>
>> #include <stdbool.h>
>> #include <unistd.h>
>> +#include <string.h>
>>
>> #include <arpa/inet.h> /* ntohl */
>
> This patch fixes the warnings, thank you.
>
> Normally warnings are not a big deal, but often they later become errors
> so I figured it was worth reporting. Glad to see it fixed ;-)

I'll commit this but not as a fix as its doesn't fix anything but a
compile warning. It'll be part of v1.1.4 (or guess v3.8-rc$(something)
to keep in line with the kernel releases as iw does now, thanks for
reporting!

Luis