qcacld-3.0: Rename pAdapter in wlan_hdd_wmm.[ch]
The Linux Coding Style frowns upon mixed-case names and so-called Hungarian notation, so rename pAdapter to align with the Coding Style. Change-Id: Ia4b1ee1717f0d0bb44583e967e5dd8290f679b29 CRs-Fixed: 2119843
This commit is contained in:

committed by
snandini

orang tua
d184d2b06d
melakukan
a7e2e00d18
@@ -208,16 +208,16 @@ extern const uint8_t hdd_linux_up_to_ac_map[];
|
|||||||
/**
|
/**
|
||||||
* hdd_wmmps_helper() - Function to set uapsd psb dynamically
|
* hdd_wmmps_helper() - Function to set uapsd psb dynamically
|
||||||
*
|
*
|
||||||
* @pAdapter: [in] pointer to adapter structure
|
* @adapter: [in] pointer to adapter structure
|
||||||
* @ptr: [in] pointer to command buffer
|
* @ptr: [in] pointer to command buffer
|
||||||
*
|
*
|
||||||
* Return: Zero on success, appropriate error on failure.
|
* Return: Zero on success, appropriate error on failure.
|
||||||
*/
|
*/
|
||||||
int hdd_wmmps_helper(struct hdd_adapter *pAdapter, uint8_t *ptr);
|
int hdd_wmmps_helper(struct hdd_adapter *adapter, uint8_t *ptr);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* hdd_wmm_init() - initialize the WMM DSCP configuation
|
* hdd_wmm_init() - initialize the WMM DSCP configuation
|
||||||
* @pAdapter : [in] pointer to Adapter context
|
* @adapter : [in] pointer to Adapter context
|
||||||
*
|
*
|
||||||
* This function will initialize the WMM DSCP configuation of an
|
* This function will initialize the WMM DSCP configuation of an
|
||||||
* adapter to an initial state. The configuration can later be
|
* adapter to an initial state. The configuration can later be
|
||||||
@@ -225,11 +225,11 @@ int hdd_wmmps_helper(struct hdd_adapter *pAdapter, uint8_t *ptr);
|
|||||||
*
|
*
|
||||||
* Return: QDF_STATUS enumeration
|
* Return: QDF_STATUS enumeration
|
||||||
*/
|
*/
|
||||||
QDF_STATUS hdd_wmm_init(struct hdd_adapter *pAdapter);
|
QDF_STATUS hdd_wmm_init(struct hdd_adapter *adapter);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* hdd_wmm_adapter_init() - initialize the WMM configuration of an adapter
|
* hdd_wmm_adapter_init() - initialize the WMM configuration of an adapter
|
||||||
* @pAdapter: [in] pointer to Adapter context
|
* @adapter: [in] pointer to Adapter context
|
||||||
*
|
*
|
||||||
* This function will initialize the WMM configuation and status of an
|
* This function will initialize the WMM configuation and status of an
|
||||||
* adapter to an initial state. The configuration can later be
|
* adapter to an initial state. The configuration can later be
|
||||||
@@ -237,18 +237,18 @@ QDF_STATUS hdd_wmm_init(struct hdd_adapter *pAdapter);
|
|||||||
*
|
*
|
||||||
* Return: QDF_STATUS enumeration
|
* Return: QDF_STATUS enumeration
|
||||||
*/
|
*/
|
||||||
QDF_STATUS hdd_wmm_adapter_init(struct hdd_adapter *pAdapter);
|
QDF_STATUS hdd_wmm_adapter_init(struct hdd_adapter *adapter);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* hdd_wmm_close() - WMM close function
|
* hdd_wmm_close() - WMM close function
|
||||||
* @pAdapter: [in] pointer to adapter context
|
* @adapter: [in] pointer to adapter context
|
||||||
*
|
*
|
||||||
* Function which will perform any necessary work to to clean up the
|
* Function which will perform any necessary work to to clean up the
|
||||||
* WMM functionality prior to the kernel module unload.
|
* WMM functionality prior to the kernel module unload.
|
||||||
*
|
*
|
||||||
* Return: QDF_STATUS enumeration
|
* Return: QDF_STATUS enumeration
|
||||||
*/
|
*/
|
||||||
QDF_STATUS hdd_wmm_adapter_close(struct hdd_adapter *pAdapter);
|
QDF_STATUS hdd_wmm_adapter_close(struct hdd_adapter *adapter);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* hdd_wmm_select_queue() - Function which will classify the packet
|
* hdd_wmm_select_queue() - Function which will classify the packet
|
||||||
@@ -284,75 +284,75 @@ uint16_t hdd_hostapd_select_queue(struct net_device *dev, struct sk_buff *skb
|
|||||||
* acquire admittance for a WMM AC is required or not based on psb configuration
|
* acquire admittance for a WMM AC is required or not based on psb configuration
|
||||||
* done in framework
|
* done in framework
|
||||||
*
|
*
|
||||||
* @pAdapter: [in] pointer to adapter structure
|
* @adapter: [in] pointer to adapter structure
|
||||||
* @acType: [in] WMM AC type of OS packet
|
* @acType: [in] WMM AC type of OS packet
|
||||||
*
|
*
|
||||||
* Return: void
|
* Return: void
|
||||||
*/
|
*/
|
||||||
void hdd_wmm_acquire_access_required(struct hdd_adapter *pAdapter,
|
void hdd_wmm_acquire_access_required(struct hdd_adapter *adapter,
|
||||||
sme_ac_enum_type acType);
|
sme_ac_enum_type acType);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* hdd_wmm_acquire_access() - Function which will attempt to acquire
|
* hdd_wmm_acquire_access() - Function which will attempt to acquire
|
||||||
* admittance for a WMM AC
|
* admittance for a WMM AC
|
||||||
*
|
*
|
||||||
* @pAdapter: [in] pointer to adapter context
|
* @adapter: [in] pointer to adapter context
|
||||||
* @acType: [in] WMM AC type of OS packet
|
* @acType: [in] WMM AC type of OS packet
|
||||||
* @pGranted: [out] pointer to bool flag when indicates if access
|
* @pGranted: [out] pointer to bool flag when indicates if access
|
||||||
* has been granted or not
|
* has been granted or not
|
||||||
*
|
*
|
||||||
* Return: QDF_STATUS enumeration
|
* Return: QDF_STATUS enumeration
|
||||||
*/
|
*/
|
||||||
QDF_STATUS hdd_wmm_acquire_access(struct hdd_adapter *pAdapter,
|
QDF_STATUS hdd_wmm_acquire_access(struct hdd_adapter *adapter,
|
||||||
sme_ac_enum_type acType, bool *pGranted);
|
sme_ac_enum_type acType, bool *pGranted);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* hdd_wmm_assoc() - Function which will handle the housekeeping
|
* hdd_wmm_assoc() - Function which will handle the housekeeping
|
||||||
* required by WMM when association takes place
|
* required by WMM when association takes place
|
||||||
*
|
*
|
||||||
* @pAdapter: [in] pointer to adapter context
|
* @adapter: [in] pointer to adapter context
|
||||||
* @pRoamInfo: [in] pointer to roam information
|
* @pRoamInfo: [in] pointer to roam information
|
||||||
* @eBssType: [in] type of BSS
|
* @eBssType: [in] type of BSS
|
||||||
*
|
*
|
||||||
* Return: QDF_STATUS enumeration
|
* Return: QDF_STATUS enumeration
|
||||||
*/
|
*/
|
||||||
QDF_STATUS hdd_wmm_assoc(struct hdd_adapter *pAdapter,
|
QDF_STATUS hdd_wmm_assoc(struct hdd_adapter *adapter,
|
||||||
tCsrRoamInfo *pRoamInfo, eCsrRoamBssType eBssType);
|
tCsrRoamInfo *pRoamInfo, eCsrRoamBssType eBssType);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* hdd_wmm_connect() - Function which will handle the housekeeping
|
* hdd_wmm_connect() - Function which will handle the housekeeping
|
||||||
* required by WMM when a connection is established
|
* required by WMM when a connection is established
|
||||||
*
|
*
|
||||||
* @pAdapter : [in] pointer to adapter context
|
* @adapter : [in] pointer to adapter context
|
||||||
* @pRoamInfo: [in] pointer to roam information
|
* @pRoamInfo: [in] pointer to roam information
|
||||||
* @eBssType : [in] type of BSS
|
* @eBssType : [in] type of BSS
|
||||||
*
|
*
|
||||||
* Return: QDF_STATUS enumeration
|
* Return: QDF_STATUS enumeration
|
||||||
*/
|
*/
|
||||||
QDF_STATUS hdd_wmm_connect(struct hdd_adapter *pAdapter,
|
QDF_STATUS hdd_wmm_connect(struct hdd_adapter *adapter,
|
||||||
tCsrRoamInfo *pRoamInfo, eCsrRoamBssType eBssType);
|
tCsrRoamInfo *pRoamInfo, eCsrRoamBssType eBssType);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* hdd_wmm_get_uapsd_mask() - Function which will calculate the
|
* hdd_wmm_get_uapsd_mask() - Function which will calculate the
|
||||||
* initial value of the UAPSD mask based upon the device configuration
|
* initial value of the UAPSD mask based upon the device configuration
|
||||||
*
|
*
|
||||||
* @pAdapter : [in] pointer to adapter context
|
* @adapter : [in] pointer to adapter context
|
||||||
* @pUapsdMask: [out] pointer to where the UAPSD Mask is to be stored
|
* @pUapsdMask: [out] pointer to where the UAPSD Mask is to be stored
|
||||||
*
|
*
|
||||||
* Return: QDF_STATUS enumeration
|
* Return: QDF_STATUS enumeration
|
||||||
*/
|
*/
|
||||||
QDF_STATUS hdd_wmm_get_uapsd_mask(struct hdd_adapter *pAdapter,
|
QDF_STATUS hdd_wmm_get_uapsd_mask(struct hdd_adapter *adapter,
|
||||||
uint8_t *pUapsdMask);
|
uint8_t *pUapsdMask);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* hdd_wmm_is_active() - Function which will determine if WMM is
|
* hdd_wmm_is_active() - Function which will determine if WMM is
|
||||||
* active on the current connection
|
* active on the current connection
|
||||||
*
|
*
|
||||||
* @pAdapter: [in] pointer to adapter context
|
* @adapter: [in] pointer to adapter context
|
||||||
*
|
*
|
||||||
* Return: true if WMM is enabled, false if WMM is not enabled
|
* Return: true if WMM is enabled, false if WMM is not enabled
|
||||||
*/
|
*/
|
||||||
bool hdd_wmm_is_active(struct hdd_adapter *pAdapter);
|
bool hdd_wmm_is_active(struct hdd_adapter *adapter);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* hdd_wmm_is_acm_allowed() - Function which will determine if WMM is
|
* hdd_wmm_is_acm_allowed() - Function which will determine if WMM is
|
||||||
@@ -368,13 +368,13 @@ bool hdd_wmm_is_acm_allowed(struct wlan_objmgr_vdev **vdev);
|
|||||||
* hdd_wmm_addts() - Function which will add a traffic spec at the
|
* hdd_wmm_addts() - Function which will add a traffic spec at the
|
||||||
* request of an application
|
* request of an application
|
||||||
*
|
*
|
||||||
* @pAdapter : [in] pointer to adapter context
|
* @adapter : [in] pointer to adapter context
|
||||||
* @handle : [in] handle to uniquely identify a TS
|
* @handle : [in] handle to uniquely identify a TS
|
||||||
* @pTspec : [in] pointer to the traffic spec
|
* @pTspec : [in] pointer to the traffic spec
|
||||||
*
|
*
|
||||||
* Return: HDD_WLAN_WMM_STATUS_*
|
* Return: HDD_WLAN_WMM_STATUS_*
|
||||||
*/
|
*/
|
||||||
hdd_wlan_wmm_status_e hdd_wmm_addts(struct hdd_adapter *pAdapter,
|
hdd_wlan_wmm_status_e hdd_wmm_addts(struct hdd_adapter *adapter,
|
||||||
uint32_t handle,
|
uint32_t handle,
|
||||||
struct sme_qos_wmmtspecinfo *pTspec);
|
struct sme_qos_wmmtspecinfo *pTspec);
|
||||||
|
|
||||||
@@ -382,33 +382,33 @@ hdd_wlan_wmm_status_e hdd_wmm_addts(struct hdd_adapter *pAdapter,
|
|||||||
* hdd_wmm_delts() - Function which will delete a traffic spec at the
|
* hdd_wmm_delts() - Function which will delete a traffic spec at the
|
||||||
* request of an application
|
* request of an application
|
||||||
*
|
*
|
||||||
* @pAdapter: [in] pointer to adapter context
|
* @adapter: [in] pointer to adapter context
|
||||||
* @handle: [in] handle to uniquely identify a TS
|
* @handle: [in] handle to uniquely identify a TS
|
||||||
*
|
*
|
||||||
* Return: HDD_WLAN_WMM_STATUS_*
|
* Return: HDD_WLAN_WMM_STATUS_*
|
||||||
*/
|
*/
|
||||||
hdd_wlan_wmm_status_e hdd_wmm_delts(struct hdd_adapter *pAdapter, uint32_t handle);
|
hdd_wlan_wmm_status_e hdd_wmm_delts(struct hdd_adapter *adapter, uint32_t handle);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* hdd_wmm_checkts() - Function which will return the status of a traffic
|
* hdd_wmm_checkts() - Function which will return the status of a traffic
|
||||||
* spec at the request of an application
|
* spec at the request of an application
|
||||||
*
|
*
|
||||||
* @pAdapter: [in] pointer to adapter context
|
* @adapter: [in] pointer to adapter context
|
||||||
* @handle: [in] handle to uniquely identify a TS
|
* @handle: [in] handle to uniquely identify a TS
|
||||||
*
|
*
|
||||||
* Return: HDD_WLAN_WMM_STATUS_*
|
* Return: HDD_WLAN_WMM_STATUS_*
|
||||||
*/
|
*/
|
||||||
hdd_wlan_wmm_status_e hdd_wmm_checkts(struct hdd_adapter *pAdapter,
|
hdd_wlan_wmm_status_e hdd_wmm_checkts(struct hdd_adapter *adapter,
|
||||||
uint32_t handle);
|
uint32_t handle);
|
||||||
/**
|
/**
|
||||||
* hdd_wmm_adapter_clear() - Function which will clear the WMM status
|
* hdd_wmm_adapter_clear() - Function which will clear the WMM status
|
||||||
* for all the ACs
|
* for all the ACs
|
||||||
*
|
*
|
||||||
* @pAdapter: [in] pointer to Adapter context
|
* @adapter: [in] pointer to Adapter context
|
||||||
*
|
*
|
||||||
* Return: QDF_STATUS enumeration
|
* Return: QDF_STATUS enumeration
|
||||||
*/
|
*/
|
||||||
QDF_STATUS hdd_wmm_adapter_clear(struct hdd_adapter *pAdapter);
|
QDF_STATUS hdd_wmm_adapter_clear(struct hdd_adapter *adapter);
|
||||||
|
|
||||||
void wlan_hdd_process_peer_unauthorised_pause(struct hdd_adapter *adapter);
|
void wlan_hdd_process_peer_unauthorised_pause(struct hdd_adapter *adapter);
|
||||||
#endif /* #ifndef _WLAN_HDD_WMM_H */
|
#endif /* #ifndef _WLAN_HDD_WMM_H */
|
||||||
|
File diff ditekan karena terlalu besar
Load Diff
Reference in New Issue
Block a user