mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
qcacmn: During host-invoked roaming, don't to send null data to AP
During host invoked roaming, set WMI_ROAM_INVOKE_FLAG_NO_NULL_FRAME_TO_AP flag so that FW will not send NULL data frame while doing transition. CRs-Fixed: 2046964 Change-Id: I043c3d2431e4da5af36fb710bd36a520550abbd3
This commit is contained in:
parent
05503ee8f1
commit
78819cf2bd
2 changed files with 5 additions and 0 deletions
|
|
@ -3354,6 +3354,7 @@ struct wmi_unit_test_cmd {
|
|||
* @channel: channel
|
||||
* @frame_len: frame length, includs mac header, fixed params and ies
|
||||
* @frame_buf: buffer contaning probe response or beacon
|
||||
* @is_same_bssid: flag to indicate if roaming is requested for same bssid
|
||||
*/
|
||||
struct wmi_roam_invoke_cmd {
|
||||
uint32_t vdev_id;
|
||||
|
|
@ -3361,6 +3362,7 @@ struct wmi_roam_invoke_cmd {
|
|||
uint32_t channel;
|
||||
uint32_t frame_len;
|
||||
uint8_t *frame_buf;
|
||||
uint8_t is_same_bssid;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -14772,6 +14772,9 @@ static QDF_STATUS send_roam_invoke_cmd_tlv(wmi_unified_t wmi_handle,
|
|||
WMITLV_GET_STRUCT_TLVLEN(wmi_roam_invoke_cmd_fixed_param));
|
||||
cmd->vdev_id = roaminvoke->vdev_id;
|
||||
cmd->flags |= (1 << WMI_ROAM_INVOKE_FLAG_REPORT_FAILURE);
|
||||
if (roaminvoke->is_same_bssid)
|
||||
cmd->flags |= (1 << WMI_ROAM_INVOKE_FLAG_NO_NULL_FRAME_TO_AP);
|
||||
WMI_LOGD(FL("is_same_bssid flag: %d"), roaminvoke->is_same_bssid);
|
||||
|
||||
if (roaminvoke->frame_len) {
|
||||
cmd->roam_scan_mode = WMI_ROAM_INVOKE_SCAN_MODE_SKIP;
|
||||
|
|
|
|||
Loading…
Reference in a new issue