qcacld-3.0: Rename HDD variable eBssType

The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable eBssType to be
compliant.

Change-Id: Ifb59945fbde736d3aea0cc00034950337c3e5f17
CRs-Fixed: 2409076
这个提交包含在:
Jeff Johnson
2019-02-27 09:38:08 -08:00
提交者 nshrivas
父节点 5d96b9f54c
当前提交 fdb993cdb7
修改 3 个文件,包含 14 行新增14 行删除

查看文件

@@ -298,13 +298,13 @@ QDF_STATUS hdd_wmm_acquire_access(struct hdd_adapter *adapter,
* *
* @adapter: [in] pointer to adapter context * @adapter: [in] pointer to adapter context
* @roam_info: [in] pointer to roam information * @roam_info: [in] pointer to roam information
* @eBssType: [in] type of BSS * @bss_type: [in] type of BSS
* *
* Return: QDF_STATUS enumeration * Return: QDF_STATUS enumeration
*/ */
QDF_STATUS hdd_wmm_assoc(struct hdd_adapter *adapter, QDF_STATUS hdd_wmm_assoc(struct hdd_adapter *adapter,
struct csr_roam_info *roam_info, struct csr_roam_info *roam_info,
eCsrRoamBssType eBssType); eCsrRoamBssType bss_type);
/** /**
* hdd_wmm_connect() - Function which will handle the housekeeping * hdd_wmm_connect() - Function which will handle the housekeeping
@@ -312,13 +312,13 @@ QDF_STATUS hdd_wmm_assoc(struct hdd_adapter *adapter,
* *
* @adapter : [in] pointer to adapter context * @adapter : [in] pointer to adapter context
* @roam_info: [in] pointer to roam information * @roam_info: [in] pointer to roam information
* @eBssType : [in] type of BSS * @bss_type : [in] type of BSS
* *
* Return: QDF_STATUS enumeration * Return: QDF_STATUS enumeration
*/ */
QDF_STATUS hdd_wmm_connect(struct hdd_adapter *adapter, QDF_STATUS hdd_wmm_connect(struct hdd_adapter *adapter,
struct csr_roam_info *roam_info, struct csr_roam_info *roam_info,
eCsrRoamBssType eBssType); eCsrRoamBssType bss_type);
/** /**
* hdd_wmm_is_active() - Function which will determine if WMM is * hdd_wmm_is_active() - Function which will determine if WMM is

查看文件

@@ -953,14 +953,14 @@ static void hdd_save_bss_info(struct hdd_adapter *adapter,
* hdd_conn_save_connect_info() - save current connection information * hdd_conn_save_connect_info() - save current connection information
* @adapter: pointer to adapter * @adapter: pointer to adapter
* @roam_info: pointer to roam info * @roam_info: pointer to roam info
* @eBssType: bss type * @bss_type: bss type
* *
* Return: none * Return: none
*/ */
static void static void
hdd_conn_save_connect_info(struct hdd_adapter *adapter, hdd_conn_save_connect_info(struct hdd_adapter *adapter,
struct csr_roam_info *roam_info, struct csr_roam_info *roam_info,
eCsrRoamBssType eBssType) eCsrRoamBssType bss_type)
{ {
struct hdd_station_ctx *sta_ctx = WLAN_HDD_GET_STATION_CTX_PTR(adapter); struct hdd_station_ctx *sta_ctx = WLAN_HDD_GET_STATION_CTX_PTR(adapter);
eCsrEncryptionType encryptType = eCSR_ENCRYPT_TYPE_NONE; eCsrEncryptionType encryptType = eCSR_ENCRYPT_TYPE_NONE;
@@ -969,7 +969,7 @@ hdd_conn_save_connect_info(struct hdd_adapter *adapter,
if (roam_info) { if (roam_info) {
/* Save the BSSID for the connection */ /* Save the BSSID for the connection */
if (eCSR_BSS_TYPE_INFRASTRUCTURE == eBssType) { if (eCSR_BSS_TYPE_INFRASTRUCTURE == bss_type) {
QDF_ASSERT(roam_info->pBssDesc); QDF_ASSERT(roam_info->pBssDesc);
qdf_copy_macaddr(&sta_ctx->conn_info.bssId, qdf_copy_macaddr(&sta_ctx->conn_info.bssId,
&roam_info->bssid); &roam_info->bssid);
@@ -985,7 +985,7 @@ hdd_conn_save_connect_info(struct hdd_adapter *adapter,
sta_ctx->conn_info.staId[0] = sta_ctx->conn_info.staId[0] =
roam_info->staId; roam_info->staId;
} }
} else if (eCSR_BSS_TYPE_IBSS == eBssType) { } else if (eCSR_BSS_TYPE_IBSS == bss_type) {
qdf_copy_macaddr(&sta_ctx->conn_info.bssId, qdf_copy_macaddr(&sta_ctx->conn_info.bssId,
&roam_info->bssid); &roam_info->bssid);
} else { } else {
@@ -997,7 +997,7 @@ hdd_conn_save_connect_info(struct hdd_adapter *adapter,
} }
/* notify WMM */ /* notify WMM */
hdd_wmm_connect(adapter, roam_info, eBssType); hdd_wmm_connect(adapter, roam_info, bss_type);
if (!roam_info->u.pConnectedProfile) { if (!roam_info->u.pConnectedProfile) {
QDF_ASSERT(roam_info->u.pConnectedProfile); QDF_ASSERT(roam_info->u.pConnectedProfile);

查看文件

@@ -1996,13 +1996,13 @@ QDF_STATUS hdd_wmm_acquire_access(struct hdd_adapter *adapter,
* *
* @adapter: [in] pointer to adapter context * @adapter: [in] pointer to adapter context
* @roam_info: [in] pointer to roam information * @roam_info: [in] pointer to roam information
* @eBssType: [in] type of BSS * @bss_type: [in] type of BSS
* *
* Return: QDF_STATUS enumeration * Return: QDF_STATUS enumeration
*/ */
QDF_STATUS hdd_wmm_assoc(struct hdd_adapter *adapter, QDF_STATUS hdd_wmm_assoc(struct hdd_adapter *adapter,
struct csr_roam_info *roam_info, struct csr_roam_info *roam_info,
eCsrRoamBssType eBssType) eCsrRoamBssType bss_type)
{ {
uint8_t uapsdMask; uint8_t uapsdMask;
QDF_STATUS status; QDF_STATUS status;
@@ -2165,13 +2165,13 @@ static const uint8_t acm_mask_bit[WLAN_MAX_AC] = {
* *
* @adapter : [in] pointer to adapter context * @adapter : [in] pointer to adapter context
* @roam_info: [in] pointer to roam information * @roam_info: [in] pointer to roam information
* @eBssType : [in] type of BSS * @bss_type : [in] type of BSS
* *
* Return: QDF_STATUS enumeration * Return: QDF_STATUS enumeration
*/ */
QDF_STATUS hdd_wmm_connect(struct hdd_adapter *adapter, QDF_STATUS hdd_wmm_connect(struct hdd_adapter *adapter,
struct csr_roam_info *roam_info, struct csr_roam_info *roam_info,
eCsrRoamBssType eBssType) eCsrRoamBssType bss_type)
{ {
int ac; int ac;
bool qap; bool qap;
@@ -2181,7 +2181,7 @@ QDF_STATUS hdd_wmm_connect(struct hdd_adapter *adapter,
hdd_enter(); hdd_enter();
if ((eCSR_BSS_TYPE_INFRASTRUCTURE == eBssType) && if ((eCSR_BSS_TYPE_INFRASTRUCTURE == bss_type) &&
roam_info && roam_info->u.pConnectedProfile) { roam_info && roam_info->u.pConnectedProfile) {
qap = roam_info->u.pConnectedProfile->qap; qap = roam_info->u.pConnectedProfile->qap;
qosConnection = roam_info->u.pConnectedProfile->qosConnection; qosConnection = roam_info->u.pConnectedProfile->qosConnection;