mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
qcacld-3.0: Send HE 6GHz band capabilities IE in WLAN frames
HE STA / AP operating in 6GHz should send HE 6GHz band capabilities element. Update LIM layer for sending this IE in assoc, reassoc and probe request / response frames. Change-Id: Ie991ad3656e6b721e0ee0783b5974d438699091c CRs-fixed: 2552009
This commit is contained in:
parent
5c1e9aeb3d
commit
8e4491c8ed
2 changed files with 12 additions and 0 deletions
|
|
@ -316,6 +316,8 @@ void lim_send_reassoc_req_with_ft_ies_mgmt_frame(struct mac_context *mac_ctx,
|
|||
pe_debug("Populate HE IEs");
|
||||
populate_dot11f_he_caps(mac_ctx, pe_session,
|
||||
&frm->he_cap);
|
||||
populate_dot11f_he_6ghz_cap(mac_ctx, pe_session,
|
||||
&frm->he_6ghz_band_cap);
|
||||
}
|
||||
|
||||
status = dot11f_get_packed_re_assoc_request_size(mac_ctx, frm,
|
||||
|
|
@ -694,6 +696,8 @@ void lim_send_reassoc_req_mgmt_frame(struct mac_context *mac,
|
|||
pe_debug("Populate HE IEs");
|
||||
populate_dot11f_he_caps(mac, pe_session,
|
||||
&frm->he_cap);
|
||||
populate_dot11f_he_6ghz_cap(mac_ctx, pe_session,
|
||||
&frm->he_6ghz_band_cap);
|
||||
}
|
||||
|
||||
nStatus =
|
||||
|
|
|
|||
|
|
@ -315,6 +315,8 @@ lim_send_probe_req_mgmt_frame(struct mac_context *mac_ctx,
|
|||
|
||||
pe_debug("Populate HE IEs");
|
||||
populate_dot11f_he_caps(mac_ctx, pesession, &pr.he_cap);
|
||||
populate_dot11f_he_6ghz_cap(mac_ctx, pesession,
|
||||
&pr.he_6ghz_band_cap);
|
||||
|
||||
if (addn_ielen && additional_ie) {
|
||||
qdf_mem_zero((uint8_t *)&extracted_ext_cap,
|
||||
|
|
@ -627,6 +629,8 @@ lim_send_probe_rsp_mgmt_frame(struct mac_context *mac_ctx,
|
|||
&frm->he_cap);
|
||||
populate_dot11f_he_operation(mac_ctx, pe_session,
|
||||
&frm->he_op);
|
||||
populate_dot11f_he_6ghz_cap(mac_ctx, pe_session,
|
||||
&frm->he_6ghz_band_cap);
|
||||
}
|
||||
|
||||
populate_dot11f_ext_cap(mac_ctx, is_vht_enabled, &frm->ExtCap,
|
||||
|
|
@ -2032,9 +2036,13 @@ lim_send_assoc_req_mgmt_frame(struct mac_context *mac_ctx,
|
|||
pe_debug("Populate HE IEs");
|
||||
populate_dot11f_he_caps(mac_ctx, pe_session,
|
||||
&frm->he_cap);
|
||||
populate_dot11f_he_6ghz_cap(mac_ctx, pe_session,
|
||||
&frm->he_6ghz_band_cap);
|
||||
} else if (pe_session->he_with_wep_tkip) {
|
||||
pe_debug("Populate HE IEs in Assoc Request with WEP/TKIP");
|
||||
populate_dot11f_he_caps(mac_ctx, NULL, &frm->he_cap);
|
||||
populate_dot11f_he_6ghz_cap(mac_ctx, pe_session,
|
||||
&frm->he_6ghz_band_cap);
|
||||
}
|
||||
|
||||
if (pe_session->lim_join_req->is11Rconnection) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue