qcacld-3.0: Remove alternateChannelId from assoc structs

Structs sSirSmeAssocCnf and sSirSmeAssocIndToUpperLayerCnf both define
an alternateChannelId field. For both of these the field is written
but not read, and hence that usage is pointless. Since these fields
serve no purpose, remove them.

Change-Id: Icae506f3d9baea0c44896cc7dc69897bbdc236d2
CRs-Fixed: 2392273
This commit is contained in:
Jeff Johnson
2019-02-01 15:08:57 -08:00
zatwierdzone przez nshrivas
rodzic 1305f69e54
commit 85982a5e13
3 zmienionych plików z 0 dodań i 8 usunięć

Wyświetl plik

@@ -1141,7 +1141,6 @@ typedef struct sSirSmeAssocCnf {
struct qdf_mac_addr bssid; /* Self BSSID */
struct qdf_mac_addr peer_macaddr;
uint16_t aid;
uint8_t alternateChannelId;
} tSirSmeAssocCnf, *tpSirSmeAssocCnf;
/* / Enum definition for Wireless medium status change codes */

Wyświetl plik

@@ -1186,7 +1186,6 @@ typedef struct sSirSmeAssocIndToUpperLayerCnf {
tSirMacAddr bssId; /* Self BSSID */
tSirMacAddr peerMacAddr;
uint16_t aid;
uint8_t alternateChannelId;
uint8_t wmmEnabledSta; /* set to true if WMM enabled STA */
tSirRSNie rsnIE; /* RSN IE received from peer */
tSirWAPIie wapiIE; /* WAPI IE received from peer */

Wyświetl plik

@@ -15502,9 +15502,6 @@ QDF_STATUS csr_send_assoc_cnf_msg(struct mac_context *mac, tpSirSmeAssocInd
/* aid */
pMsg->aid = pAssocInd->aid;
/* alternateChannelId */
pMsg->alternateChannelId = 11;
msg.type = pMsg->messageType;
msg.bodyval = 0;
msg.bodyptr = pMsg;
@@ -15554,9 +15551,6 @@ QDF_STATUS csr_send_assoc_ind_to_upper_layer_cnf_msg(struct mac_context *mac,
pBuf = (uint8_t *)&pMsg->aid;
wTmp = pAssocInd->staId;
qdf_mem_copy(pBuf, &wTmp, sizeof(uint16_t));
/* alternateChannelId */
pBuf = (uint8_t *)&pMsg->alternateChannelId;
*pBuf = 11;
/*
* Instead of copying roam Info,just copy WmmEnabled,
* RsnIE information.