Correction in typo below:
On 2019-08-30 11:03, asinghal@xxxxxxxxxxxxxx wrote:
On 2019-08-30 03:45, Arend Van Spriel wrote:
On 8/30/2019 12:21 AM, Amar Singhal wrote:
Enhance function ieee80211_frequency_to_channel by adding 6 GHz
channels.
This look very similar to what I submitted earlier:
https://patchwork.kernel.org/patch/11073197/
Regards,
Arend
- else if (freq <= 45000) /* DMG band lower limit */
+ else if (freq < 5940)
return (freq - 5000) / 5;
+ else if (freq <= 45000) /* DMG band lower limit */
+ /* see 802.11ax D4.1 27.3.22.2 */
+ return (freq - 5940) / 5;
hi Arend,
I see a small issue in your patch above; for frequency 5940,
the channel number returned would be 0 which is an invalid channel. I
guess 6 GHz center frequency numbers begin with 5945.
rgds,
Amar