Re: [External]Re: wireless-regdb: master-2022-02-18

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I build it into my custom 4.4.11 kernel with Yocto (Morty release).  The regdb.c that was generated with the awk script was incorrect (it matched the output below where the end frequency was replaced by the bandwidth and the bandwidth was 0).  I suspect that the awk script used to process db.txt in the linux build processes it differently than the python scripts.

Lawrence

-----Original Message-----
From: Seth Forshee <seth@xxxxxxxxxx> 
Sent: Wednesday, March 23, 2022 1:30 PM
To: Tuck, Lawrence J C (Lawrence) <ljctuck@xxxxxxxxx>
Cc: wireless-regdb@xxxxxxxxxxxxxxxxxxx
Subject: [External]Re:  wireless-regdb: master-2022-02-18

[External Sender]

On Wed, Mar 23, 2022 at 02:56:41PM +0000, Tuck, Lawrence J C (Lawrence) wrote:
> In testing this release, I have encountered an error with the US domain.
>
> Mar  4 03:55:41 kernel: [ 1269.508101] cfg80211: Invalid regulatory domain detected:
> Mar  4 03:55:41 kernel: [ 1269.508161] cfg80211: Regulatory domain: US
> Mar  4 03:55:41 kernel: [ 1269.508185] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
> Mar  4 03:55:41 kernel: [ 1269.508218] cfg80211:   (902000 KHz - 2000 KHz @ 0 KHz), (N/A, 0 mBm), (N/A)
> Mar  4 03:55:41 kernel: [ 1269.508510] cfg80211:   (904000 KHz - 16000 KHz @ 0 KHz), (N/A, 0 mBm), (N/A)
> Mar  4 03:55:41 kernel: [ 1269.508563] cfg80211:   (920000 KHz - 8000 KHz @ 0 KHz), (N/A, 0 mBm), (N/A)
> Mar  4 03:55:41 kernel: [ 1269.508592] cfg80211:   (2400000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
>
> It looks like the parsing of the S1G frequencies failed.  Looking at db.txt there are no spaces around the '-' in the S1G channels.  Has anyone else encountered this issue?

I didn't see this in my testing against multiple kernel versions. What version are you using?

Are you using regulatory.db or regulatory.bin? I only tested regulatory.bin with regdbdump and not by loading it into a kernel, so there could be a problem there that I didn't catch.

Thanks,
Seth

_______________________________________________
wireless-regdb mailing list
wireless-regdb@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/wireless-regdb



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux