qcacmn: Update candidate list before try next
Some IOT APs only allow to connect if last 3 bytes of BSSID and self MAC is same. They create a new bssid on receiving unicast probe/auth req from STA and allow STA to connect to this matching BSSID only. So boost the matching BSSID to try to connect to this BSSID. And add logic to refresh the candidate list before next candidate try when the last candidate connect fail. Change-Id: I482e122c8c9febbab42f64013fbb78c266f49655 CRs-Fixed: 3432618
Šī revīzija ir iekļauta:

revīziju iesūtīja
Madan Koyyalamudi

vecāks
d7d85dfad9
revīzija
3a759ca431
@@ -127,6 +127,17 @@ typedef __qdf_wait_queue_head_t qdf_wait_queue_head_t;
|
||||
(_a)[4] == 0xff && \
|
||||
(_a)[5] == 0xff)
|
||||
|
||||
/**
|
||||
* QDF_IS_LAST_3_BYTES_OF_MAC_SAME - check the last 3 bytes
|
||||
* same or not for two mac addresses
|
||||
* @mac1: mac address 1
|
||||
* @mac2: mac address 2
|
||||
*/
|
||||
#define QDF_IS_LAST_3_BYTES_OF_MAC_SAME(mac1, mac2) \
|
||||
((mac1)->bytes[3] == (mac2)->bytes[3] && \
|
||||
(mac1)->bytes[4] == (mac2)->bytes[4] && \
|
||||
(mac1)->bytes[5] == (mac2)->bytes[5])
|
||||
|
||||
/* Get number of bits from the index bit */
|
||||
#define QDF_GET_BITS(_val, _index, _num_bits) \
|
||||
(((_val) >> (_index)) & ((1 << (_num_bits)) - 1))
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user