[PATCH] Send probe as unicast in joining state

Eugene Krasnikov k.eugene.e at gmail.com
Tue May 28 11:30:04 EDT 2013


This bug happens in STA mode. Let me draw a mini diagram where we are :
STA                    AP
 | (normal scan)      |
 |                           |
 |   probe req          |
 |------------------------->|
(no probe_rsp was received only beacon was received)
 |                           |
 |__                       |
 |    |                      |
 |    |(send join smd)|
 |<- |
 (mac80211 will try to send direct probe since it needs all IE
http://lxr.free-electrons.com/source/net/mac80211/mlme.c?v=3.4#L2700)
 |   probe req           |
 |-------------------------->| <- here trick HW
 |   probe rsp           |
 |<-------------------------|
 |   auth req            |
 |------------------------->|
 |   auth rsp            |
 |<-------------------------|

Did my best, probably not the best diagram;) Feel free to ask more questions.


2013/5/28 Kalle Valo <kvalo at qca.qualcomm.com>:
> Eugene Krasnikov <k.eugene.e at gmail.com> writes:
>
>> While joining mac will try to send direct probe in case mac
>> never received any probes from AP. But mac instead of sending
>> unicast probe will send broadcast probe because some APs do
>> not answer to direct packet in unassociated state. And HW
>> cannot send broadcast packets in joining state so trick it
>> like we are sending unicast probe instead of broadcast.
>>
>> Signed-off-by: Eugene Krasnikov <k.eugene.e at gmail.com>
>
> Sorry, I didn't understand the scenario. When does this bug happen?
>
> --
> Kalle Valo



-- 
Best regards,
Eugene



More information about the wcn36xx mailing list