qcacld-3.0: Rename hdd_station_info staType field
Per the Linux coding style "mixed-case names are frowned upon" so rename field staType in struct hdd_station_info. Change-Id: I6852f6b1c45c69f0ef414ecaa46467094244888d CRs-Fixed: 2131095
This commit is contained in:
@@ -772,7 +772,7 @@ struct hdd_fw_txrx_stats {
|
||||
* @in_use: Is the station entry in use?
|
||||
* @sta_id: Station ID reported back from HAL (through SAP).
|
||||
* Broadcast uses station ID zero by default.
|
||||
* @staType: Type of station i.e. p2p client or infrastructure station
|
||||
* @sta_type: Type of station i.e. p2p client or infrastructure station
|
||||
* @sta_mac: MAC address of the station
|
||||
* @peer_state: Current Station state so HDD knows how to deal with packet
|
||||
* queue. Most recent states used to change TLSHIM STA state.
|
||||
@@ -805,7 +805,7 @@ struct hdd_fw_txrx_stats {
|
||||
struct hdd_station_info {
|
||||
bool in_use;
|
||||
uint8_t sta_id;
|
||||
eStationType staType;
|
||||
eStationType sta_type;
|
||||
struct qdf_mac_addr sta_mac;
|
||||
enum ol_txrx_peer_state peer_state;
|
||||
bool is_qos_enabled;
|
||||
|
@@ -1286,7 +1286,7 @@ static int calcuate_max_phy_rate(int mode, int nss, int ch_width,
|
||||
static void hdd_fill_station_info(struct hdd_station_info *stainfo,
|
||||
tSap_StationAssocReassocCompleteEvent *event)
|
||||
{
|
||||
stainfo->staType = event->staType;
|
||||
stainfo->sta_type = event->staType;
|
||||
stainfo->nss = event->chan_info.nss;
|
||||
stainfo->rate_flags = event->chan_info.rate_flags;
|
||||
stainfo->ampdu = event->ampdu;
|
||||
@@ -1911,8 +1911,8 @@ QDF_STATUS hdd_hostapd_sap_event_cb(tpSap_Event pSapEvent,
|
||||
hdd_fill_station_info(
|
||||
&adapter->aStaInfo[staId],
|
||||
event);
|
||||
hdd_debug("hdd_hostapd_sap_event_cb, StaID: %d, StaType: %d",
|
||||
staId, adapter->aStaInfo[staId].staType);
|
||||
hdd_debug("hdd_hostapd_sap_event_cb, StaID: %d, Type: %d",
|
||||
staId, adapter->aStaInfo[staId].sta_type);
|
||||
}
|
||||
|
||||
if (hdd_ipa_is_enabled(hdd_ctx)) {
|
||||
@@ -2018,7 +2018,7 @@ QDF_STATUS hdd_hostapd_sap_event_cb(tpSap_Event pSapEvent,
|
||||
adapter->hdd_vdev,
|
||||
adapter->device_mode,
|
||||
event->staMac.bytes,
|
||||
(adapter->aStaInfo[event->staId].staType
|
||||
(adapter->aStaInfo[event->staId].sta_type
|
||||
== eSTA_TYPE_P2P_CLI));
|
||||
if (ret)
|
||||
hdd_err("Peer object "MAC_ADDRESS_STR" add fails!",
|
||||
|
Reference in New Issue
Block a user