Hi Vladimir, > So I've opted for compat-wireless-2.6 way, and as my first concern was > to see if cw_min is being set correctly I've immediately come across an > issue here: > > conf_tx (called from ieee80211_sta_set_ssid) is being called before > IEEE80211_SDATA_OPERATING_GMODE flag is set/cleared (which is done in > ieee80211_rx_mgmt_assoc_resp). That means conf_tx will use cw_min > parameters from previous association, so when you switch between B and G > APs, you will end up with wrong cw_min. > > Shouldn't conf_tx better be called only/also after association finishes? > Or should the IEEE80211_SDATA_OPERATING_GMODE flag be set prior to > auth/assoc based on previous beacon/probe response info? Good question. I think it should probably be set once we have decided which network we will associate with as, in theory, we could send out management frames with RTS/CTS protection too. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part