Search Linux Wireless

Re: [PATCH 2/2] mac80211: make listen_interval be configurable by low level driver

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

 



Am Di 15 Jul 2008 10:41:01 CEST schrieb Johannes Berg <johannes@xxxxxxxxxxxxxxxx>:

Right, but it does make sense to advertise what we're using, and this
patch just adds a strict "driver tells mac80211 what it's using" flow.
That's mostly what I'm objecting to. If you were calling the variable
"max_listen_interval" and having mac80211 send it back to the driver in
the BSS config as bssconf->listen_interval, and, for now, simply use the
max, I wouldn't have a problem with it.

Using "max_listen_interval" as default may possibly result in APs rejecting the association. At least the 802.11 spec defines a status code 51 with the description "Association denied because the ListenInterval is too large".

Maybe retrying the association with a lower listen interval could help here. Therefore I agree with Johannes that the decision about what value to actually use should be made in mac80211.

Helmut
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux