mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
qcacld-3.0: Assign third octet of country string field
Assign third octet of country string field as 0x04 to support MBO AP. Change-Id: I639d713e05c9408915071d233bfd433d98606aff CRs-Fixed: 2518536
This commit is contained in:
parent
62f9b196c7
commit
9a7ee6c492
1 changed files with 7 additions and 0 deletions
|
|
@ -413,6 +413,13 @@ populate_dot11f_country(struct mac_context *mac,
|
|||
|
||||
qdf_mem_copy(pDot11f->country, code, 2);
|
||||
|
||||
/* a wi-fi agile multiband AP shall include a country */
|
||||
/* element in all beacon and probe response frames */
|
||||
/* where the last octet of country string field is */
|
||||
/* set to 0x04 */
|
||||
if (mac->mlme_cfg->oce.oce_sap_enabled)
|
||||
pDot11f->country[2] = 0x04;
|
||||
|
||||
if (len > MAX_SIZE_OF_TRIPLETS_IN_COUNTRY_IE) {
|
||||
pe_err("len:%d is out of bounds, resetting", len);
|
||||
len = MAX_SIZE_OF_TRIPLETS_IN_COUNTRY_IE;
|
||||
|
|
|
|||
Loading…
Reference in a new issue