qcacld-3.0: Remove get disconnect stats command from serialization

Currently in SAP mode, when host driver receives disconnect for
station, first it gets disconnect stats with serialization command
and then it sends delete peer command to fw. There is an issue with
this approach, if there are maximum number of clients are connected
to a SAP and all of these clients gets disconnected at the same
time, in that case there will be a disconnect stats command and
peer delete command in serialization, because of which serialization
queue gets full.

To address this issue, remove disconnect stats command from
serialization and send this command just before sending peer
delete command once peer delete command gets serialized.

Change-Id: I2fa1a5a393939eebbce796e11348fa7c040b40e8
CRs-Fixed: 3100914
This commit is contained in:
Ashish
2021-11-11 13:37:15 +05:30
committed by Madan Koyyalamudi
부모 826559d73a
커밋 0fcdb3b424
5개의 변경된 파일396개의 추가작업 그리고 205개의 파일을 삭제

파일 보기

@@ -94,18 +94,33 @@ struct pwr_channel_info {
int8_t max_tx_pwr;
};
/**
* struct peer_disconnect_stats_param -Peer disconnect stats params
* @vdev_id: vdev_id of the SAP vdev on which disconnect stats request is sent
* @is_disconn_stats_completed: Indicates if disconnect stats request is
* completed or not
* @disconn_stats_timer: Disconnect stats timer
*/
struct peer_disconnect_stats_param {
uint8_t vdev_id;
qdf_atomic_t is_disconn_stats_completed;
qdf_mc_timer_t disconn_stats_timer;
};
/**
* struct wlan_mlme_psoc_ext_obj -MLME ext psoc priv object
* @cfg: cfg items
* @rso_tx_ops: Roam Tx ops to send roam offload commands to firmware
* @rso_rx_ops: Roam Rx ops to receive roam offload events from firmware
* @wfa_testcmd: WFA config tx ops to send to FW
* @disconnect_stats_param: Peer disconnect stats related params for SAP case
*/
struct wlan_mlme_psoc_ext_obj {
struct wlan_mlme_cfg cfg;
struct wlan_cm_roam_tx_ops rso_tx_ops;
struct wlan_cm_roam_rx_ops rso_rx_ops;
struct wlan_mlme_wfa_cmd wfa_testcmd;
struct peer_disconnect_stats_param disconnect_stats_param;
};
/**