Search Linux Wireless

Re: [PATCH] ath6kl: Inform bss information to cfg80211 before connect event

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

 



On Fri, Dec 02, 2011 at 03:06:59PM +0530, Vasanthakumar Thiagarajan wrote:
> This is already done but only when bss entry is not availabe
> or aged out. Not updating the bss information when that bss
> is available creates a case where there is a bss entry when
> checked in ath6kl_cfg80211_connect_event() but it got aged out
> by the time cfg80211 checks for the bss entry in __cfg80211_roamed().
> This results in the following warning and the failure to notify
> roaming event to application. To fix this, update the bss information
> for which a romaing event is received. Also renamed ath6kl_add_bss_if_needed()
> to ath6kl_inform_bss().

I don't think this is a good fix for the problem and would prefer this
not getting applied before the real issue is fully understood.

This can clear valid IE information in the BSS table and make it more
difficult to complete 4-way handshake correctly. The previous condition
for the cfg80211_bss_inform() call in ath6kl_add_bss_if_needed() is
actually identical to the one that is used in __cfg80211_roamed(). In
other words, the issue is most likely from the BSS entry getting timed
out and removed between the operations and the proper fix for this is to
make sure the entry does not get removed and that should be doable
without filling it with bogus information.

-- 
Jouni Malinen                                            PGP id EFC895FA
--
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