qcacld-3.0: Replace tpAniSirGlobal in legacy parser
To align with the Linux coding style replace tpAniSirGlobal with struct mac_context * in: parser_api.c parser_api.h utils_parser.c utils_parser.h Change-Id: Iea09e107133f9621ccdfc0ed89aefcf48c1a16a3 CRs-Fixed: 2360294
This commit is contained in:
@@ -633,7 +633,7 @@ sir_convert_delts_req2_struct(struct mac_context *mac,
|
||||
uint8_t *frame, uint32_t len,
|
||||
tSirDeltsReqInfo *delTs);
|
||||
QDF_STATUS
|
||||
sir_convert_qos_map_configure_frame2_struct(tpAniSirGlobal mac,
|
||||
sir_convert_qos_map_configure_frame2_struct(struct mac_context *mac,
|
||||
uint8_t *pFrame, uint32_t nFrame,
|
||||
tSirQosMapSet *pQosMapSet);
|
||||
|
||||
@@ -665,7 +665,7 @@ sir_convert_meas_req_frame2_struct(struct mac_context *, uint8_t *,
|
||||
*/
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_capabilities(tpAniSirGlobal mac,
|
||||
populate_dot11f_capabilities(struct mac_context *mac,
|
||||
tDot11fFfCapabilities *pDot11f,
|
||||
struct pe_session *pe_session);
|
||||
|
||||
@@ -691,50 +691,50 @@ populate_dot11f_capabilities(tpAniSirGlobal mac,
|
||||
struct sDphHashNode;
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_capabilities2(tpAniSirGlobal mac,
|
||||
populate_dot11f_capabilities2(struct mac_context *mac,
|
||||
tDot11fFfCapabilities *pDot11f,
|
||||
struct sDphHashNode *pSta,
|
||||
struct pe_session *pe_session);
|
||||
|
||||
/* / Populate a tDot11fIEChanSwitchAnn */
|
||||
void
|
||||
populate_dot11f_chan_switch_ann(tpAniSirGlobal mac,
|
||||
populate_dot11f_chan_switch_ann(struct mac_context *mac,
|
||||
tDot11fIEChanSwitchAnn *pDot11f,
|
||||
struct pe_session *pe_session);
|
||||
|
||||
void
|
||||
populate_dot_11_f_ext_chann_switch_ann(tpAniSirGlobal mac_ptr,
|
||||
populate_dot_11_f_ext_chann_switch_ann(struct mac_context *mac_ptr,
|
||||
tDot11fIEext_chan_switch_ann *dot_11_ptr,
|
||||
struct pe_session *session_entry);
|
||||
|
||||
/* / Populate a tDot11fIEChannelSwitchWrapper */
|
||||
void
|
||||
populate_dot11f_chan_switch_wrapper(tpAniSirGlobal mac,
|
||||
populate_dot11f_chan_switch_wrapper(struct mac_context *mac,
|
||||
tDot11fIEChannelSwitchWrapper *pDot11f,
|
||||
struct pe_session *pe_session);
|
||||
|
||||
/* / Populate a tDot11fIECountry */
|
||||
QDF_STATUS
|
||||
populate_dot11f_country(tpAniSirGlobal mac,
|
||||
populate_dot11f_country(struct mac_context *mac,
|
||||
tDot11fIECountry *pDot11f, struct pe_session *pe_session);
|
||||
|
||||
/* Populated a populate_dot11f_ds_params */
|
||||
QDF_STATUS
|
||||
populate_dot11f_ds_params(tpAniSirGlobal mac,
|
||||
populate_dot11f_ds_params(struct mac_context *mac,
|
||||
tDot11fIEDSParams *pDot11f, uint8_t channel);
|
||||
|
||||
/* / Populated a tDot11fIEEDCAParamSet */
|
||||
void
|
||||
populate_dot11f_edca_param_set(tpAniSirGlobal mac,
|
||||
populate_dot11f_edca_param_set(struct mac_context *mac,
|
||||
tDot11fIEEDCAParamSet *pDot11f,
|
||||
struct pe_session *pe_session);
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_erp_info(tpAniSirGlobal mac,
|
||||
populate_dot11f_erp_info(struct mac_context *mac,
|
||||
tDot11fIEERPInfo *pDot11f, struct pe_session *pe_session);
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_ext_supp_rates(tpAniSirGlobal mac,
|
||||
populate_dot11f_ext_supp_rates(struct mac_context *mac,
|
||||
uint8_t nChannelNum, tDot11fIEExtSuppRates *pDot11f,
|
||||
struct pe_session *pe_session);
|
||||
|
||||
@@ -748,7 +748,7 @@ populate_dot11f_ext_supp_rates(tpAniSirGlobal mac,
|
||||
* Return: Ret Status
|
||||
*/
|
||||
QDF_STATUS
|
||||
populate_dot11f_beacon_report(tpAniSirGlobal mac,
|
||||
populate_dot11f_beacon_report(struct mac_context *mac,
|
||||
tDot11fIEMeasurementReport *pDot11f,
|
||||
tSirMacBeaconReport *pBeaconReport,
|
||||
bool is_last_frame);
|
||||
@@ -770,76 +770,76 @@ populate_dot11f_beacon_report(tpAniSirGlobal mac,
|
||||
*/
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_ext_supp_rates1(tpAniSirGlobal mac,
|
||||
populate_dot11f_ext_supp_rates1(struct mac_context *mac,
|
||||
uint8_t nChannelNum,
|
||||
tDot11fIEExtSuppRates *pDot11f);
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_ht_caps(tpAniSirGlobal mac,
|
||||
populate_dot11f_ht_caps(struct mac_context *mac,
|
||||
struct pe_session *pe_session, tDot11fIEHTCaps *pDot11f);
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_ht_info(tpAniSirGlobal mac,
|
||||
populate_dot11f_ht_info(struct mac_context *mac,
|
||||
tDot11fIEHTInfo *pDot11f, struct pe_session *pe_session);
|
||||
|
||||
void populate_dot11f_ibss_params(tpAniSirGlobal mac,
|
||||
void populate_dot11f_ibss_params(struct mac_context *mac,
|
||||
tDot11fIEIBSSParams *pDot11f,
|
||||
struct pe_session *pe_session);
|
||||
|
||||
#ifdef ANI_SUPPORT_11H
|
||||
QDF_STATUS
|
||||
populate_dot11f_measurement_report0(tpAniSirGlobal mac,
|
||||
populate_dot11f_measurement_report0(struct mac_context *mac,
|
||||
tpSirMacMeasReqActionFrame pReq,
|
||||
tDot11fIEMeasurementReport *pDot11f);
|
||||
|
||||
/* / Populate a tDot11fIEMeasurementReport when the report type is CCA */
|
||||
QDF_STATUS
|
||||
populate_dot11f_measurement_report1(tpAniSirGlobal mac,
|
||||
populate_dot11f_measurement_report1(struct mac_context *mac,
|
||||
tpSirMacMeasReqActionFrame pReq,
|
||||
tDot11fIEMeasurementReport *pDot11f);
|
||||
|
||||
/* / Populate a tDot11fIEMeasurementReport when the report type is RPI Hist */
|
||||
QDF_STATUS
|
||||
populate_dot11f_measurement_report2(tpAniSirGlobal mac,
|
||||
populate_dot11f_measurement_report2(struct mac_context *mac,
|
||||
tpSirMacMeasReqActionFrame pReq,
|
||||
tDot11fIEMeasurementReport *pDot11f);
|
||||
#endif /* ANI_SUPPORT_11H */
|
||||
|
||||
/* / Populate a tDot11fIEPowerCaps */
|
||||
void
|
||||
populate_dot11f_power_caps(tpAniSirGlobal mac,
|
||||
populate_dot11f_power_caps(struct mac_context *mac,
|
||||
tDot11fIEPowerCaps *pCaps,
|
||||
uint8_t nAssocType, struct pe_session *pe_session);
|
||||
|
||||
/* / Populate a tDot11fIEPowerConstraints */
|
||||
QDF_STATUS
|
||||
populate_dot11f_power_constraints(tpAniSirGlobal mac,
|
||||
populate_dot11f_power_constraints(struct mac_context *mac,
|
||||
tDot11fIEPowerConstraints *pDot11f);
|
||||
|
||||
void
|
||||
populate_dot11f_qos_caps_ap(tpAniSirGlobal mac,
|
||||
populate_dot11f_qos_caps_ap(struct mac_context *mac,
|
||||
tDot11fIEQOSCapsAp *pDot11f,
|
||||
struct pe_session *pe_session);
|
||||
|
||||
void
|
||||
populate_dot11f_qos_caps_station(tpAniSirGlobal mac, struct pe_session *session,
|
||||
populate_dot11f_qos_caps_station(struct mac_context *mac, struct pe_session *session,
|
||||
tDot11fIEQOSCapsStation *pDot11f);
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_rsn(tpAniSirGlobal mac,
|
||||
populate_dot11f_rsn(struct mac_context *mac,
|
||||
tpSirRSNie pRsnIe, tDot11fIERSN *pDot11f);
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_rsn_opaque(tpAniSirGlobal mac,
|
||||
populate_dot11f_rsn_opaque(struct mac_context *mac,
|
||||
tpSirRSNie pRsnIe, tDot11fIERSNOpaque *pDot11f);
|
||||
|
||||
#if defined(FEATURE_WLAN_WAPI)
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_wapi(tpAniSirGlobal mac,
|
||||
populate_dot11f_wapi(struct mac_context *mac,
|
||||
tpSirRSNie pRsnIe, tDot11fIEWAPI *pDot11f);
|
||||
|
||||
QDF_STATUS populate_dot11f_wapi_opaque(tpAniSirGlobal mac,
|
||||
QDF_STATUS populate_dot11f_wapi_opaque(struct mac_context *mac,
|
||||
tpSirRSNie pRsnIe,
|
||||
tDot11fIEWAPIOpaque *pDot11f);
|
||||
|
||||
@@ -847,11 +847,11 @@ QDF_STATUS populate_dot11f_wapi_opaque(tpAniSirGlobal mac,
|
||||
|
||||
/* / Populate a tDot11fIESSID given a tSirMacSSid */
|
||||
void
|
||||
populate_dot11f_ssid(tpAniSirGlobal mac,
|
||||
populate_dot11f_ssid(struct mac_context *mac,
|
||||
tSirMacSSid *pInternal, tDot11fIESSID *pDot11f);
|
||||
|
||||
/* / Populate a tDot11fIESSID from CFG */
|
||||
QDF_STATUS populate_dot11f_ssid2(tpAniSirGlobal mac,
|
||||
QDF_STATUS populate_dot11f_ssid2(struct mac_context *mac,
|
||||
tDot11fIESSID *pDot11f);
|
||||
|
||||
/**
|
||||
@@ -872,7 +872,7 @@ populate_dot11f_schedule(tSirMacScheduleIE *pSchedule,
|
||||
tDot11fIESchedule *pDot11f);
|
||||
|
||||
void
|
||||
populate_dot11f_supp_channels(tpAniSirGlobal mac,
|
||||
populate_dot11f_supp_channels(struct mac_context *mac,
|
||||
tDot11fIESuppChannels *pDot11f,
|
||||
uint8_t nAssocType, struct pe_session *pe_session);
|
||||
|
||||
@@ -900,24 +900,24 @@ populate_dot11f_supp_channels(tpAniSirGlobal mac,
|
||||
#define POPULATE_DOT11F_RATES_OPERATIONAL (0xff)
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_supp_rates(tpAniSirGlobal mac,
|
||||
populate_dot11f_supp_rates(struct mac_context *mac,
|
||||
uint8_t nChannelNum,
|
||||
tDot11fIESuppRates *pDot11f, struct pe_session *);
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_rates_tdls(tpAniSirGlobal p_mac,
|
||||
populate_dot11f_rates_tdls(struct mac_context *p_mac,
|
||||
tDot11fIESuppRates *p_supp_rates,
|
||||
tDot11fIEExtSuppRates *p_ext_supp_rates,
|
||||
uint8_t curr_oper_channel);
|
||||
|
||||
QDF_STATUS populate_dot11f_tpc_report(tpAniSirGlobal mac,
|
||||
QDF_STATUS populate_dot11f_tpc_report(struct mac_context *mac,
|
||||
tDot11fIETPCReport *pDot11f,
|
||||
struct pe_session *pe_session);
|
||||
|
||||
/* / Populate a tDot11FfTSInfo */
|
||||
void populate_dot11f_ts_info(tSirMacTSInfo *pInfo, tDot11fFfTSInfo *pDot11f);
|
||||
|
||||
void populate_dot11f_wmm(tpAniSirGlobal mac,
|
||||
void populate_dot11f_wmm(struct mac_context *mac,
|
||||
tDot11fIEWMMInfoAp *pInfo,
|
||||
tDot11fIEWMMParams *pParams,
|
||||
tDot11fIEWMMCaps *pCaps, struct pe_session *pe_session);
|
||||
@@ -930,19 +930,19 @@ void populate_dot11f_ese_version(tDot11fIEESEVersion *pESEVersion);
|
||||
/* Fill the Radio Management Capability */
|
||||
void populate_dot11f_ese_rad_mgmt_cap(tDot11fIEESERadMgmtCap *pESERadMgmtCap);
|
||||
/* Fill the CCKM IE */
|
||||
QDF_STATUS populate_dot11f_ese_cckm_opaque(tpAniSirGlobal mac,
|
||||
QDF_STATUS populate_dot11f_ese_cckm_opaque(struct mac_context *mac,
|
||||
tpSirCCKMie pCCKMie,
|
||||
tDot11fIEESECckmOpaque *pDot11f);
|
||||
|
||||
void populate_dot11_tsrsie(tpAniSirGlobal mac,
|
||||
void populate_dot11_tsrsie(struct mac_context *mac,
|
||||
tSirMacESETSRSIE *pOld,
|
||||
tDot11fIEESETrafStrmRateSet *pDot11f,
|
||||
uint8_t rate_length);
|
||||
void populate_dot11f_re_assoc_tspec(tpAniSirGlobal mac,
|
||||
void populate_dot11f_re_assoc_tspec(struct mac_context *mac,
|
||||
tDot11fReAssocRequest *pReassoc,
|
||||
struct pe_session *pe_session);
|
||||
QDF_STATUS
|
||||
sir_beacon_ie_ese_bcn_report(tpAniSirGlobal mac,
|
||||
sir_beacon_ie_ese_bcn_report(struct mac_context *mac,
|
||||
uint8_t *pPayload, const uint32_t payloadLength,
|
||||
uint8_t **outIeBuf, uint32_t *pOutIeLen);
|
||||
|
||||
@@ -961,15 +961,15 @@ void ese_populate_wmm_tspec(tSirMacTspecIE *source, ese_wmm_tspec_ie *dest);
|
||||
|
||||
#endif
|
||||
|
||||
void populate_dot11f_wmm_info_ap(tpAniSirGlobal mac,
|
||||
void populate_dot11f_wmm_info_ap(struct mac_context *mac,
|
||||
tDot11fIEWMMInfoAp *pInfo,
|
||||
struct pe_session *pe_session);
|
||||
|
||||
void populate_dot11f_wmm_info_station_per_session(tpAniSirGlobal mac,
|
||||
void populate_dot11f_wmm_info_station_per_session(struct mac_context *mac,
|
||||
struct pe_session *pe_session,
|
||||
tDot11fIEWMMInfoStation *pInfo);
|
||||
|
||||
void populate_dot11f_wmm_params(tpAniSirGlobal mac,
|
||||
void populate_dot11f_wmm_params(struct mac_context *mac,
|
||||
tDot11fIEWMMParams *pParams,
|
||||
struct pe_session *pe_session);
|
||||
|
||||
@@ -991,11 +991,11 @@ populate_dot11f_wmm_schedule(tSirMacScheduleIE *pSchedule,
|
||||
tDot11fIEWMMSchedule *pDot11f);
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_wpa(tpAniSirGlobal mac,
|
||||
populate_dot11f_wpa(struct mac_context *mac,
|
||||
tpSirRSNie pRsnIe, tDot11fIEWPA *pDot11f);
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_wpa_opaque(tpAniSirGlobal mac,
|
||||
populate_dot11f_wpa_opaque(struct mac_context *mac,
|
||||
tpSirRSNie pRsnIe, tDot11fIEWPAOpaque *pDot11f);
|
||||
|
||||
void populate_dot11f_tspec(tSirMacTspecIE *pOld, tDot11fIETSPEC *pDot11f);
|
||||
@@ -1003,86 +1003,86 @@ void populate_dot11f_tspec(tSirMacTspecIE *pOld, tDot11fIETSPEC *pDot11f);
|
||||
void populate_dot11f_wmmtspec(tSirMacTspecIE *pOld, tDot11fIEWMMTSPEC *pDot11f);
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_tclas(tpAniSirGlobal mac,
|
||||
populate_dot11f_tclas(struct mac_context *mac,
|
||||
tSirTclasInfo *pOld, tDot11fIETCLAS *pDot11f);
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_wmmtclas(tpAniSirGlobal mac,
|
||||
populate_dot11f_wmmtclas(struct mac_context *mac,
|
||||
tSirTclasInfo *pOld, tDot11fIEWMMTCLAS *pDot11f);
|
||||
|
||||
QDF_STATUS populate_dot11f_wsc(tpAniSirGlobal mac,
|
||||
QDF_STATUS populate_dot11f_wsc(struct mac_context *mac,
|
||||
tDot11fIEWscBeacon *pDot11f);
|
||||
|
||||
QDF_STATUS populate_dot11f_wsc_registrar_info(tpAniSirGlobal mac,
|
||||
QDF_STATUS populate_dot11f_wsc_registrar_info(struct mac_context *mac,
|
||||
tDot11fIEWscBeacon *pDot11f);
|
||||
|
||||
QDF_STATUS de_populate_dot11f_wsc_registrar_info(tpAniSirGlobal mac,
|
||||
QDF_STATUS de_populate_dot11f_wsc_registrar_info(struct mac_context *mac,
|
||||
tDot11fIEWscBeacon *pDot11f);
|
||||
|
||||
QDF_STATUS populate_dot11f_probe_res_wpsi_es(tpAniSirGlobal mac,
|
||||
QDF_STATUS populate_dot11f_probe_res_wpsi_es(struct mac_context *mac,
|
||||
tDot11fIEWscProbeRes *pDot11f,
|
||||
struct pe_session *pe_session);
|
||||
QDF_STATUS populate_dot11f_assoc_res_wpsi_es(tpAniSirGlobal mac,
|
||||
QDF_STATUS populate_dot11f_assoc_res_wpsi_es(struct mac_context *mac,
|
||||
tDot11fIEWscAssocRes *pDot11f,
|
||||
struct pe_session *pe_session);
|
||||
QDF_STATUS populate_dot11f_beacon_wpsi_es(tpAniSirGlobal mac,
|
||||
QDF_STATUS populate_dot11f_beacon_wpsi_es(struct mac_context *mac,
|
||||
tDot11fIEWscBeacon *pDot11f,
|
||||
struct pe_session *pe_session);
|
||||
|
||||
QDF_STATUS populate_dot11f_wsc_in_probe_res(tpAniSirGlobal mac,
|
||||
QDF_STATUS populate_dot11f_wsc_in_probe_res(struct mac_context *mac,
|
||||
tDot11fIEWscProbeRes *pDot11f);
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_wsc_registrar_info_in_probe_res(tpAniSirGlobal mac,
|
||||
populate_dot11f_wsc_registrar_info_in_probe_res(struct mac_context *mac,
|
||||
tDot11fIEWscProbeRes *pDot11f);
|
||||
|
||||
QDF_STATUS
|
||||
de_populate_dot11f_wsc_registrar_info_in_probe_res(tpAniSirGlobal mac,
|
||||
de_populate_dot11f_wsc_registrar_info_in_probe_res(struct mac_context *mac,
|
||||
tDot11fIEWscProbeRes *pDot11f);
|
||||
|
||||
QDF_STATUS populate_dot11f_assoc_res_wsc_ie(tpAniSirGlobal mac,
|
||||
QDF_STATUS populate_dot11f_assoc_res_wsc_ie(struct mac_context *mac,
|
||||
tDot11fIEWscAssocRes *pDot11f,
|
||||
tpSirAssocReq pRcvdAssocReq);
|
||||
|
||||
QDF_STATUS populate_dot11_assoc_res_p2p_ie(tpAniSirGlobal mac,
|
||||
QDF_STATUS populate_dot11_assoc_res_p2p_ie(struct mac_context *mac,
|
||||
tDot11fIEP2PAssocRes *pDot11f,
|
||||
tpSirAssocReq pRcvdAssocReq);
|
||||
|
||||
QDF_STATUS populate_dot11f_wscInAssocRes(tpAniSirGlobal mac,
|
||||
QDF_STATUS populate_dot11f_wscInAssocRes(struct mac_context *mac,
|
||||
tDot11fIEWscAssocRes *pDot11f);
|
||||
|
||||
QDF_STATUS populate_dot11f_wfatpc(tpAniSirGlobal mac,
|
||||
QDF_STATUS populate_dot11f_wfatpc(struct mac_context *mac,
|
||||
tDot11fIEWFATPC *pDot11f, uint8_t txPower,
|
||||
uint8_t linkMargin);
|
||||
|
||||
QDF_STATUS populate_dot11f_rrm_ie(tpAniSirGlobal mac,
|
||||
QDF_STATUS populate_dot11f_rrm_ie(struct mac_context *mac,
|
||||
tDot11fIERRMEnabledCap *pDot11f,
|
||||
struct pe_session *pe_session);
|
||||
|
||||
void populate_mdie(tpAniSirGlobal mac,
|
||||
void populate_mdie(struct mac_context *mac,
|
||||
tDot11fIEMobilityDomain * pDot11f, uint8_t mdie[]);
|
||||
void populate_ft_info(tpAniSirGlobal mac, tDot11fIEFTInfo *pDot11f);
|
||||
void populate_ft_info(struct mac_context *mac, tDot11fIEFTInfo *pDot11f);
|
||||
|
||||
void populate_dot11f_assoc_rsp_rates(tpAniSirGlobal mac,
|
||||
void populate_dot11f_assoc_rsp_rates(struct mac_context *mac,
|
||||
tDot11fIESuppRates *pSupp,
|
||||
tDot11fIEExtSuppRates *pExt,
|
||||
uint16_t *_11bRates, uint16_t *_11aRates);
|
||||
|
||||
int find_ie_location(tpAniSirGlobal mac, tpSirRSNie pRsnIe, uint8_t EID);
|
||||
int find_ie_location(struct mac_context *mac, tpSirRSNie pRsnIe, uint8_t EID);
|
||||
|
||||
void lim_log_vht_cap(tpAniSirGlobal mac, tDot11fIEVHTCaps *pDot11f);
|
||||
void lim_log_vht_cap(struct mac_context *mac, tDot11fIEVHTCaps *pDot11f);
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_vht_caps(tpAniSirGlobal mac, struct pe_session *pe_session,
|
||||
populate_dot11f_vht_caps(struct mac_context *mac, struct pe_session *pe_session,
|
||||
tDot11fIEVHTCaps *pDot11f);
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_vht_operation(tpAniSirGlobal mac,
|
||||
populate_dot11f_vht_operation(struct mac_context *mac,
|
||||
struct pe_session *pe_session,
|
||||
tDot11fIEVHTOperation *pDot11f);
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_ext_cap(tpAniSirGlobal mac, bool isVHTEnabled,
|
||||
populate_dot11f_ext_cap(struct mac_context *mac, bool isVHTEnabled,
|
||||
tDot11fIEExtCap *pDot11f, struct pe_session *pe_session);
|
||||
|
||||
void populate_dot11f_qcn_ie(tDot11fIEQCN_IE *pDot11f);
|
||||
@@ -1098,45 +1098,45 @@ void populate_dot11f_qcn_ie(tDot11fIEQCN_IE *pDot11f);
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void populate_dot11f_fils_params(tpAniSirGlobal mac_ctx,
|
||||
void populate_dot11f_fils_params(struct mac_context *mac_ctx,
|
||||
tDot11fAssocRequest * frm,
|
||||
struct pe_session *pe_session);
|
||||
#else
|
||||
static inline void populate_dot11f_fils_params(tpAniSirGlobal mac_ctx,
|
||||
static inline void populate_dot11f_fils_params(struct mac_context *mac_ctx,
|
||||
tDot11fAssocRequest *frm,
|
||||
struct pe_session *pe_session)
|
||||
{ }
|
||||
#endif
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_operating_mode(tpAniSirGlobal mac,
|
||||
populate_dot11f_operating_mode(struct mac_context *mac,
|
||||
tDot11fIEOperatingMode *pDot11f,
|
||||
struct pe_session *pe_session);
|
||||
|
||||
void
|
||||
populate_dot11f_wider_bw_chan_switch_ann(tpAniSirGlobal mac,
|
||||
populate_dot11f_wider_bw_chan_switch_ann(struct mac_context *mac,
|
||||
tDot11fIEWiderBWChanSwitchAnn *pDot11f,
|
||||
struct pe_session *pe_session);
|
||||
|
||||
void populate_dot11f_timeout_interval(tpAniSirGlobal mac,
|
||||
void populate_dot11f_timeout_interval(struct mac_context *mac,
|
||||
tDot11fIETimeoutInterval *pDot11f,
|
||||
uint8_t type, uint32_t value);
|
||||
|
||||
#ifdef FEATURE_AP_MCC_CH_AVOIDANCE
|
||||
/* Populate a tDot11fIEQComVendorIE */
|
||||
void
|
||||
populate_dot11f_avoid_channel_ie(tpAniSirGlobal mac_ctx,
|
||||
populate_dot11f_avoid_channel_ie(struct mac_context *mac_ctx,
|
||||
tDot11fIEQComVendorIE *dot11f,
|
||||
struct pe_session *session_entry);
|
||||
#endif /* FEATURE_AP_MCC_CH_AVOIDANCE */
|
||||
|
||||
QDF_STATUS populate_dot11f_timing_advert_frame(tpAniSirGlobal mac,
|
||||
QDF_STATUS populate_dot11f_timing_advert_frame(struct mac_context *mac,
|
||||
tDot11fTimingAdvertisementFrame *frame);
|
||||
void populate_dot11_supp_operating_classes(tpAniSirGlobal mac_ptr,
|
||||
void populate_dot11_supp_operating_classes(struct mac_context *mac_ptr,
|
||||
tDot11fIESuppOperatingClasses *dot_11_ptr, struct pe_session *session_entry);
|
||||
|
||||
QDF_STATUS
|
||||
sir_validate_and_rectify_ies(tpAniSirGlobal mac_ctx,
|
||||
sir_validate_and_rectify_ies(struct mac_context *mac_ctx,
|
||||
uint8_t *mgmt_frame,
|
||||
uint32_t frame_bytes,
|
||||
uint32_t *missing_rsn_bytes);
|
||||
@@ -1151,7 +1151,7 @@ sir_validate_and_rectify_ies(tpAniSirGlobal mac_ctx,
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void sir_copy_caps_info(tpAniSirGlobal mac_ctx, tDot11fFfCapabilities caps,
|
||||
void sir_copy_caps_info(struct mac_context *mac_ctx, tDot11fFfCapabilities caps,
|
||||
tpSirProbeRespBeacon pProbeResp);
|
||||
|
||||
#ifdef WLAN_FEATURE_FILS_SK
|
||||
@@ -1166,17 +1166,17 @@ void update_fils_data(struct sir_fils_indication *fils_ind,
|
||||
tDot11fIEfils_indication * fils_indication);
|
||||
#endif
|
||||
#ifdef WLAN_FEATURE_11AX
|
||||
QDF_STATUS populate_dot11f_he_caps(tpAniSirGlobal, struct pe_session *,
|
||||
QDF_STATUS populate_dot11f_he_caps(struct mac_context *, struct pe_session *,
|
||||
tDot11fIEhe_cap *);
|
||||
QDF_STATUS populate_dot11f_he_operation(tpAniSirGlobal, struct pe_session *,
|
||||
QDF_STATUS populate_dot11f_he_operation(struct mac_context *, struct pe_session *,
|
||||
tDot11fIEhe_op *);
|
||||
#ifdef WLAN_FEATURE_11AX_BSS_COLOR
|
||||
QDF_STATUS populate_dot11f_he_bss_color_change(tpAniSirGlobal mac_ctx,
|
||||
QDF_STATUS populate_dot11f_he_bss_color_change(struct mac_context *mac_ctx,
|
||||
struct pe_session *session,
|
||||
tDot11fIEbss_color_change *bss_color);
|
||||
#else
|
||||
static inline QDF_STATUS populate_dot11f_he_bss_color_change(
|
||||
tpAniSirGlobal mac_ctx,
|
||||
struct mac_context *mac_ctx,
|
||||
struct pe_session *session,
|
||||
tDot11fIEbss_color_change *bss_color)
|
||||
{
|
||||
@@ -1184,20 +1184,20 @@ static inline QDF_STATUS populate_dot11f_he_bss_color_change(
|
||||
}
|
||||
#endif
|
||||
#else
|
||||
static inline QDF_STATUS populate_dot11f_he_caps(tpAniSirGlobal mac_ctx,
|
||||
static inline QDF_STATUS populate_dot11f_he_caps(struct mac_context *mac_ctx,
|
||||
struct pe_session *session, tDot11fIEhe_cap *he_cap)
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static inline QDF_STATUS populate_dot11f_he_operation(tpAniSirGlobal mac_ctx,
|
||||
static inline QDF_STATUS populate_dot11f_he_operation(struct mac_context *mac_ctx,
|
||||
struct pe_session *session, tDot11fIEhe_op *he_op)
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static inline QDF_STATUS populate_dot11f_he_bss_color_change(
|
||||
tpAniSirGlobal mac_ctx,
|
||||
struct mac_context *mac_ctx,
|
||||
struct pe_session *session,
|
||||
tDot11fIEbss_color_change *bss_color)
|
||||
{
|
||||
@@ -1216,12 +1216,12 @@ static inline QDF_STATUS populate_dot11f_he_bss_color_change(
|
||||
*
|
||||
* Return: QDF_STATUS Success or Failure
|
||||
*/
|
||||
QDF_STATUS populate_dot11f_twt_extended_caps(tpAniSirGlobal mac_ctx,
|
||||
QDF_STATUS populate_dot11f_twt_extended_caps(struct mac_context *mac_ctx,
|
||||
struct pe_session *pe_session,
|
||||
tDot11fIEExtCap *dot11f);
|
||||
#else
|
||||
static inline
|
||||
QDF_STATUS populate_dot11f_twt_extended_caps(tpAniSirGlobal mac_ctx,
|
||||
QDF_STATUS populate_dot11f_twt_extended_caps(struct mac_context *mac_ctx,
|
||||
struct pe_session *pe_session,
|
||||
tDot11fIEExtCap *dot11f)
|
||||
{
|
||||
@@ -1240,7 +1240,7 @@ QDF_STATUS populate_dot11f_twt_extended_caps(tpAniSirGlobal mac_ctx,
|
||||
*
|
||||
* Return: parse status
|
||||
*/
|
||||
uint32_t sir_unpack_beacon_ie(tpAniSirGlobal mac_ctx, uint8_t *buf,
|
||||
uint32_t sir_unpack_beacon_ie(struct mac_context *mac_ctx, uint8_t *buf,
|
||||
uint32_t buf_len,
|
||||
tDot11fBeaconIEs *frame, bool append_ie);
|
||||
|
||||
|
@@ -35,58 +35,58 @@
|
||||
#include "dot11f.h"
|
||||
#include "utils_api.h"
|
||||
|
||||
void convert_ssid(tpAniSirGlobal, tSirMacSSid *, tDot11fIESSID *);
|
||||
void convert_supp_rates(tpAniSirGlobal, tSirMacRateSet *, tDot11fIESuppRates *);
|
||||
void convert_fh_params(tpAniSirGlobal, tSirMacFHParamSet *,
|
||||
void convert_ssid(struct mac_context *, tSirMacSSid *, tDot11fIESSID *);
|
||||
void convert_supp_rates(struct mac_context *, tSirMacRateSet *, tDot11fIESuppRates *);
|
||||
void convert_fh_params(struct mac_context *, tSirMacFHParamSet *,
|
||||
tDot11fIEFHParamSet *);
|
||||
void convert_ext_supp_rates(tpAniSirGlobal, tSirMacRateSet *,
|
||||
void convert_ext_supp_rates(struct mac_context *, tSirMacRateSet *,
|
||||
tDot11fIEExtSuppRates *);
|
||||
void convert_qos_caps(tpAniSirGlobal, tSirMacQosCapabilityIE *,
|
||||
void convert_qos_caps(struct mac_context *, tSirMacQosCapabilityIE *,
|
||||
tDot11fIEQOSCapsAp *);
|
||||
void convert_qos_caps_station(tpAniSirGlobal, tSirMacQosCapabilityStaIE *,
|
||||
void convert_qos_caps_station(struct mac_context *, tSirMacQosCapabilityStaIE *,
|
||||
tDot11fIEQOSCapsStation *);
|
||||
QDF_STATUS convert_wpa(tpAniSirGlobal, tSirMacWpaInfo *, tDot11fIEWPA *);
|
||||
QDF_STATUS convert_wpa_opaque(tpAniSirGlobal, tSirMacWpaInfo *,
|
||||
QDF_STATUS convert_wpa(struct mac_context *, tSirMacWpaInfo *, tDot11fIEWPA *);
|
||||
QDF_STATUS convert_wpa_opaque(struct mac_context *, tSirMacWpaInfo *,
|
||||
tDot11fIEWPAOpaque *);
|
||||
QDF_STATUS convert_wapi_opaque(tpAniSirGlobal, tSirMacWapiInfo *,
|
||||
QDF_STATUS convert_wapi_opaque(struct mac_context *, tSirMacWapiInfo *,
|
||||
tDot11fIEWAPIOpaque *);
|
||||
QDF_STATUS convert_rsn(tpAniSirGlobal, tSirMacRsnInfo *, tDot11fIERSN *);
|
||||
QDF_STATUS convert_rsn_opaque(tpAniSirGlobal, tSirMacRsnInfo *,
|
||||
QDF_STATUS convert_rsn(struct mac_context *, tSirMacRsnInfo *, tDot11fIERSN *);
|
||||
QDF_STATUS convert_rsn_opaque(struct mac_context *, tSirMacRsnInfo *,
|
||||
tDot11fIERSNOpaque *);
|
||||
void convert_power_caps(tpAniSirGlobal, tSirMacPowerCapabilityIE *,
|
||||
void convert_power_caps(struct mac_context *, tSirMacPowerCapabilityIE *,
|
||||
tDot11fIEPowerCaps *);
|
||||
void convert_supp_channels(tpAniSirGlobal, tSirMacSupportedChannelIE *,
|
||||
void convert_supp_channels(struct mac_context *, tSirMacSupportedChannelIE *,
|
||||
tDot11fIESuppChannels *);
|
||||
void convert_cf_params(tpAniSirGlobal, tSirMacCfParamSet *, tDot11fIECFParams *);
|
||||
void convert_tim(tpAniSirGlobal, tSirMacTim *, tDot11fIETIM *);
|
||||
void convert_country(tpAniSirGlobal, tSirCountryInformation *,
|
||||
void convert_cf_params(struct mac_context *, tSirMacCfParamSet *, tDot11fIECFParams *);
|
||||
void convert_tim(struct mac_context *, tSirMacTim *, tDot11fIETIM *);
|
||||
void convert_country(struct mac_context *, tSirCountryInformation *,
|
||||
tDot11fIECountry *);
|
||||
void convert_wmm_params(tpAniSirGlobal, tSirMacEdcaParamSetIE *,
|
||||
void convert_wmm_params(struct mac_context *, tSirMacEdcaParamSetIE *,
|
||||
tDot11fIEWMMParams *);
|
||||
void convert_erp_info(tpAniSirGlobal, tSirMacErpInfo *, tDot11fIEERPInfo *);
|
||||
void convert_edca_param(tpAniSirGlobal, tSirMacEdcaParamSetIE *,
|
||||
void convert_erp_info(struct mac_context *, tSirMacErpInfo *, tDot11fIEERPInfo *);
|
||||
void convert_edca_param(struct mac_context *, tSirMacEdcaParamSetIE *,
|
||||
tDot11fIEEDCAParamSet *);
|
||||
void convert_mu_edca_param(tpAniSirGlobal mac_ctx,
|
||||
void convert_mu_edca_param(struct mac_context * mac_ctx,
|
||||
tSirMacEdcaParamSetIE *mu_edca,
|
||||
tDot11fIEmu_edca_param_set *ie);
|
||||
void convert_tspec(tpAniSirGlobal, tSirMacTspecIE *, tDot11fIETSPEC *);
|
||||
QDF_STATUS convert_tclas(tpAniSirGlobal, tSirTclasInfo *, tDot11fIETCLAS *);
|
||||
void convert_wmmtspec(tpAniSirGlobal, tSirMacTspecIE *, tDot11fIEWMMTSPEC *);
|
||||
QDF_STATUS convert_wmmtclas(tpAniSirGlobal, tSirTclasInfo *,
|
||||
void convert_tspec(struct mac_context *, tSirMacTspecIE *, tDot11fIETSPEC *);
|
||||
QDF_STATUS convert_tclas(struct mac_context *, tSirTclasInfo *, tDot11fIETCLAS *);
|
||||
void convert_wmmtspec(struct mac_context *, tSirMacTspecIE *, tDot11fIEWMMTSPEC *);
|
||||
QDF_STATUS convert_wmmtclas(struct mac_context *, tSirTclasInfo *,
|
||||
tDot11fIEWMMTCLAS *);
|
||||
void convert_ts_delay(tpAniSirGlobal, tSirMacTsDelayIE *, tDot11fIETSDelay *);
|
||||
void convert_schedule(tpAniSirGlobal, tSirMacScheduleIE *, tDot11fIESchedule *);
|
||||
void convert_wmm_schedule(tpAniSirGlobal, tSirMacScheduleIE *,
|
||||
void convert_ts_delay(struct mac_context *, tSirMacTsDelayIE *, tDot11fIETSDelay *);
|
||||
void convert_schedule(struct mac_context *, tSirMacScheduleIE *, tDot11fIESchedule *);
|
||||
void convert_wmm_schedule(struct mac_context *, tSirMacScheduleIE *,
|
||||
tDot11fIEWMMSchedule *);
|
||||
QDF_STATUS convert_wsc_opaque(tpAniSirGlobal, tSirAddie *,
|
||||
QDF_STATUS convert_wsc_opaque(struct mac_context *, tSirAddie *,
|
||||
tDot11fIEWscIEOpaque *);
|
||||
QDF_STATUS convert_p2p_opaque(tpAniSirGlobal, tSirAddie *,
|
||||
QDF_STATUS convert_p2p_opaque(struct mac_context *, tSirAddie *,
|
||||
tDot11fIEP2PIEOpaque *);
|
||||
#ifdef WLAN_FEATURE_WFD
|
||||
QDF_STATUS convert_wfd_opaque(tpAniSirGlobal, tSirAddie *,
|
||||
QDF_STATUS convert_wfd_opaque(struct mac_context *, tSirAddie *,
|
||||
tDot11fIEWFDIEOpaque *);
|
||||
#endif
|
||||
void convert_qos_mapset_frame(tpAniSirGlobal, tSirQosMapSet *,
|
||||
void convert_qos_mapset_frame(struct mac_context *, tSirQosMapSet *,
|
||||
tDot11fIEQosMapSet *);
|
||||
|
||||
#endif
|
||||
|
@@ -72,7 +72,7 @@ void swap_bit_field16(uint16_t in, uint16_t *out)
|
||||
#endif /* ANI_LITTLE_BIT_ENDIAN */
|
||||
}
|
||||
|
||||
static inline void __print_wmm_params(tpAniSirGlobal mac,
|
||||
static inline void __print_wmm_params(struct mac_context *mac,
|
||||
tDot11fIEWMMParams *pWmm)
|
||||
{
|
||||
pe_debug("WMM Parameters Received:");
|
||||
@@ -100,7 +100,7 @@ static inline void __print_wmm_params(tpAniSirGlobal mac,
|
||||
|
||||
/* return: >= 0, the starting location of the IE in rsnIEdata inside tSirRSNie */
|
||||
/* < 0, cannot find */
|
||||
int find_ie_location(tpAniSirGlobal mac, tpSirRSNie pRsnIe, uint8_t EID)
|
||||
int find_ie_location(struct mac_context *mac, tpSirRSNie pRsnIe, uint8_t EID)
|
||||
{
|
||||
int idx, ieLen, bytesLeft;
|
||||
int ret_val = -1;
|
||||
@@ -147,7 +147,7 @@ int find_ie_location(tpAniSirGlobal mac, tpSirRSNie pRsnIe, uint8_t EID)
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_capabilities(tpAniSirGlobal mac,
|
||||
populate_dot11f_capabilities(struct mac_context *mac,
|
||||
tDot11fFfCapabilities *pDot11f,
|
||||
struct pe_session *pe_session)
|
||||
{
|
||||
@@ -176,7 +176,7 @@ populate_dot11f_capabilities(tpAniSirGlobal mac,
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void populate_dot_11_f_ext_chann_switch_ann(tpAniSirGlobal mac_ptr,
|
||||
void populate_dot_11_f_ext_chann_switch_ann(struct mac_context *mac_ptr,
|
||||
tDot11fIEext_chan_switch_ann *dot_11_ptr,
|
||||
struct pe_session *session_entry)
|
||||
{
|
||||
@@ -207,7 +207,7 @@ void populate_dot_11_f_ext_chann_switch_ann(tpAniSirGlobal mac_ptr,
|
||||
}
|
||||
|
||||
void
|
||||
populate_dot11f_chan_switch_ann(tpAniSirGlobal mac,
|
||||
populate_dot11f_chan_switch_ann(struct mac_context *mac,
|
||||
tDot11fIEChanSwitchAnn *pDot11f,
|
||||
struct pe_session *pe_session)
|
||||
{
|
||||
@@ -229,7 +229,7 @@ populate_dot11f_chan_switch_ann(tpAniSirGlobal mac,
|
||||
* Return: None
|
||||
*/
|
||||
void
|
||||
populate_dot11_supp_operating_classes(tpAniSirGlobal mac_ptr,
|
||||
populate_dot11_supp_operating_classes(struct mac_context *mac_ptr,
|
||||
tDot11fIESuppOperatingClasses *dot_11_ptr,
|
||||
struct pe_session *session_entry)
|
||||
{
|
||||
@@ -262,7 +262,7 @@ populate_dot11_supp_operating_classes(tpAniSirGlobal mac_ptr,
|
||||
}
|
||||
|
||||
void
|
||||
populate_dot11f_chan_switch_wrapper(tpAniSirGlobal mac,
|
||||
populate_dot11f_chan_switch_wrapper(struct mac_context *mac,
|
||||
tDot11fIEChannelSwitchWrapper *pDot11f,
|
||||
struct pe_session *pe_session)
|
||||
{
|
||||
@@ -316,7 +316,7 @@ populate_dot11f_chan_switch_wrapper(tpAniSirGlobal mac,
|
||||
|
||||
#ifdef FEATURE_AP_MCC_CH_AVOIDANCE
|
||||
void
|
||||
populate_dot11f_avoid_channel_ie(tpAniSirGlobal mac_ctx,
|
||||
populate_dot11f_avoid_channel_ie(struct mac_context *mac_ctx,
|
||||
tDot11fIEQComVendorIE *dot11f,
|
||||
struct pe_session *pe_session)
|
||||
{
|
||||
@@ -330,7 +330,7 @@ populate_dot11f_avoid_channel_ie(tpAniSirGlobal mac_ctx,
|
||||
#endif /* FEATURE_AP_MCC_CH_AVOIDANCE */
|
||||
|
||||
void
|
||||
populate_dot11f_wider_bw_chan_switch_ann(tpAniSirGlobal mac,
|
||||
populate_dot11f_wider_bw_chan_switch_ann(struct mac_context *mac,
|
||||
tDot11fIEWiderBWChanSwitchAnn *pDot11f,
|
||||
struct pe_session *pe_session)
|
||||
{
|
||||
@@ -344,7 +344,7 @@ populate_dot11f_wider_bw_chan_switch_ann(tpAniSirGlobal mac,
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_country(tpAniSirGlobal mac,
|
||||
populate_dot11f_country(struct mac_context *mac,
|
||||
tDot11fIECountry *pDot11f, struct pe_session *pe_session)
|
||||
{
|
||||
uint32_t len;
|
||||
@@ -401,7 +401,7 @@ populate_dot11f_country(tpAniSirGlobal mac,
|
||||
* Return: Overall success
|
||||
*/
|
||||
QDF_STATUS
|
||||
populate_dot11f_ds_params(tpAniSirGlobal mac_ctx,
|
||||
populate_dot11f_ds_params(struct mac_context *mac_ctx,
|
||||
tDot11fIEDSParams *dot11f_param, uint8_t channel)
|
||||
{
|
||||
if (IS_24G_CH(channel)) {
|
||||
@@ -416,7 +416,7 @@ populate_dot11f_ds_params(tpAniSirGlobal mac_ctx,
|
||||
#define SET_AIFSN(aifsn) (((aifsn) < 2) ? 2 : (aifsn))
|
||||
|
||||
void
|
||||
populate_dot11f_edca_param_set(tpAniSirGlobal mac,
|
||||
populate_dot11f_edca_param_set(struct mac_context *mac,
|
||||
tDot11fIEEDCAParamSet *pDot11f,
|
||||
struct pe_session *pe_session)
|
||||
{
|
||||
@@ -486,7 +486,7 @@ populate_dot11f_edca_param_set(tpAniSirGlobal mac,
|
||||
} /* End PopluateDot11fEDCAParamSet. */
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_erp_info(tpAniSirGlobal mac,
|
||||
populate_dot11f_erp_info(struct mac_context *mac,
|
||||
tDot11fIEERPInfo *pDot11f, struct pe_session *pe_session)
|
||||
{
|
||||
uint32_t val;
|
||||
@@ -525,7 +525,7 @@ populate_dot11f_erp_info(tpAniSirGlobal mac,
|
||||
} /* End populate_dot11f_erp_info. */
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_ext_supp_rates(tpAniSirGlobal mac, uint8_t nChannelNum,
|
||||
populate_dot11f_ext_supp_rates(struct mac_context *mac, uint8_t nChannelNum,
|
||||
tDot11fIEExtSuppRates *pDot11f,
|
||||
struct pe_session *pe_session)
|
||||
{
|
||||
@@ -569,7 +569,7 @@ populate_dot11f_ext_supp_rates(tpAniSirGlobal mac, uint8_t nChannelNum,
|
||||
} /* End populate_dot11f_ext_supp_rates. */
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_ext_supp_rates1(tpAniSirGlobal mac,
|
||||
populate_dot11f_ext_supp_rates1(struct mac_context *mac,
|
||||
uint8_t nChannelNum,
|
||||
tDot11fIEExtSuppRates *pDot11f)
|
||||
{
|
||||
@@ -605,7 +605,7 @@ populate_dot11f_ext_supp_rates1(tpAniSirGlobal mac,
|
||||
} /* populate_dot11f_ext_supp_rates1. */
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_ht_caps(tpAniSirGlobal mac,
|
||||
populate_dot11f_ht_caps(struct mac_context *mac,
|
||||
struct pe_session *pe_session, tDot11fIEHTCaps *pDot11f)
|
||||
{
|
||||
uint32_t nCfgValue;
|
||||
@@ -754,7 +754,7 @@ populate_dot11f_ht_caps(tpAniSirGlobal mac,
|
||||
|
||||
} /* End populate_dot11f_ht_caps. */
|
||||
|
||||
void lim_log_vht_cap(tpAniSirGlobal mac, tDot11fIEVHTCaps *pDot11f)
|
||||
void lim_log_vht_cap(struct mac_context *mac, tDot11fIEVHTCaps *pDot11f)
|
||||
{
|
||||
#ifdef DUMP_MGMT_CNTNTS
|
||||
pe_debug("maxMPDULen (2): %d", pDot11f->maxMPDULen);
|
||||
@@ -801,7 +801,7 @@ void lim_log_vht_cap(tpAniSirGlobal mac, tDot11fIEVHTCaps *pDot11f)
|
||||
#endif /* DUMP_MGMT_CNTNTS */
|
||||
}
|
||||
|
||||
static void lim_log_vht_operation(tpAniSirGlobal mac,
|
||||
static void lim_log_vht_operation(struct mac_context *mac,
|
||||
tDot11fIEVHTOperation *pDot11f)
|
||||
{
|
||||
#ifdef DUMP_MGMT_CNTNTS
|
||||
@@ -814,7 +814,7 @@ static void lim_log_vht_operation(tpAniSirGlobal mac,
|
||||
#endif /* DUMP_MGMT_CNTNTS */
|
||||
}
|
||||
|
||||
static void lim_log_operating_mode(tpAniSirGlobal mac,
|
||||
static void lim_log_operating_mode(struct mac_context *mac,
|
||||
tDot11fIEOperatingMode *pDot11f)
|
||||
{
|
||||
#ifdef DUMP_MGMT_CNTNTS
|
||||
@@ -825,7 +825,7 @@ static void lim_log_operating_mode(tpAniSirGlobal mac,
|
||||
#endif /* DUMP_MGMT_CNTNTS */
|
||||
}
|
||||
|
||||
static void lim_log_qos_map_set(tpAniSirGlobal mac, tSirQosMapSet *pQosMapSet)
|
||||
static void lim_log_qos_map_set(struct mac_context *mac, tSirQosMapSet *pQosMapSet)
|
||||
{
|
||||
uint8_t i;
|
||||
|
||||
@@ -849,7 +849,7 @@ static void lim_log_qos_map_set(tpAniSirGlobal mac, tSirQosMapSet *pQosMapSet)
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_vht_caps(tpAniSirGlobal mac,
|
||||
populate_dot11f_vht_caps(struct mac_context *mac,
|
||||
struct pe_session *pe_session, tDot11fIEVHTCaps *pDot11f)
|
||||
{
|
||||
uint32_t nCfgValue = 0;
|
||||
@@ -1028,7 +1028,7 @@ populate_dot11f_vht_caps(tpAniSirGlobal mac,
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_vht_operation(tpAniSirGlobal mac,
|
||||
populate_dot11f_vht_operation(struct mac_context *mac,
|
||||
struct pe_session *pe_session,
|
||||
tDot11fIEVHTOperation *pDot11f)
|
||||
{
|
||||
@@ -1060,7 +1060,7 @@ populate_dot11f_vht_operation(tpAniSirGlobal mac,
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_ext_cap(tpAniSirGlobal mac,
|
||||
populate_dot11f_ext_cap(struct mac_context *mac,
|
||||
bool isVHTEnabled, tDot11fIEExtCap *pDot11f,
|
||||
struct pe_session *pe_session)
|
||||
{
|
||||
@@ -1128,7 +1128,7 @@ void populate_dot11f_qcn_ie(tDot11fIEQCN_IE *pDot11f)
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_operating_mode(tpAniSirGlobal mac,
|
||||
populate_dot11f_operating_mode(struct mac_context *mac,
|
||||
tDot11fIEOperatingMode *pDot11f,
|
||||
struct pe_session *pe_session)
|
||||
{
|
||||
@@ -1142,7 +1142,7 @@ populate_dot11f_operating_mode(tpAniSirGlobal mac,
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_ht_info(tpAniSirGlobal mac,
|
||||
populate_dot11f_ht_info(struct mac_context *mac,
|
||||
tDot11fIEHTInfo *pDot11f, struct pe_session *pe_session)
|
||||
{
|
||||
qdf_size_t ncfglen;
|
||||
@@ -1205,7 +1205,7 @@ populate_dot11f_ht_info(tpAniSirGlobal mac,
|
||||
} /* End populate_dot11f_ht_info. */
|
||||
|
||||
void
|
||||
populate_dot11f_ibss_params(tpAniSirGlobal mac,
|
||||
populate_dot11f_ibss_params(struct mac_context *mac,
|
||||
tDot11fIEIBSSParams *pDot11f,
|
||||
struct pe_session *pe_session)
|
||||
{
|
||||
@@ -1226,7 +1226,7 @@ populate_dot11f_ibss_params(tpAniSirGlobal mac,
|
||||
|
||||
#ifdef ANI_SUPPORT_11H
|
||||
QDF_STATUS
|
||||
populate_dot11f_measurement_report0(tpAniSirGlobal mac,
|
||||
populate_dot11f_measurement_report0(struct mac_context *mac,
|
||||
tpSirMacMeasReqActionFrame pReq,
|
||||
tDot11fIEMeasurementReport *pDot11f)
|
||||
{
|
||||
@@ -1242,7 +1242,7 @@ populate_dot11f_measurement_report0(tpAniSirGlobal mac,
|
||||
|
||||
} /* End PopulatedDot11fMeasurementReport0. */
|
||||
QDF_STATUS
|
||||
populate_dot11f_measurement_report1(tpAniSirGlobal mac,
|
||||
populate_dot11f_measurement_report1(struct mac_context *mac,
|
||||
tpSirMacMeasReqActionFrame pReq,
|
||||
tDot11fIEMeasurementReport *pDot11f)
|
||||
{
|
||||
@@ -1255,7 +1255,7 @@ populate_dot11f_measurement_report1(tpAniSirGlobal mac,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
} /* End PopulatedDot11fMeasurementReport1. */
|
||||
QDF_STATUS
|
||||
populate_dot11f_measurement_report2(tpAniSirGlobal mac,
|
||||
populate_dot11f_measurement_report2(struct mac_context *mac,
|
||||
tpSirMacMeasReqActionFrame pReq,
|
||||
tDot11fIEMeasurementReport *pDot11f)
|
||||
{
|
||||
@@ -1270,7 +1270,7 @@ populate_dot11f_measurement_report2(tpAniSirGlobal mac,
|
||||
#endif
|
||||
|
||||
void
|
||||
populate_dot11f_power_caps(tpAniSirGlobal mac,
|
||||
populate_dot11f_power_caps(struct mac_context *mac,
|
||||
tDot11fIEPowerCaps *pCaps,
|
||||
uint8_t nAssocType, struct pe_session *pe_session)
|
||||
{
|
||||
@@ -1291,7 +1291,7 @@ populate_dot11f_power_caps(tpAniSirGlobal mac,
|
||||
} /* End populate_dot11f_power_caps. */
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_power_constraints(tpAniSirGlobal mac,
|
||||
populate_dot11f_power_constraints(struct mac_context *mac,
|
||||
tDot11fIEPowerConstraints *pDot11f)
|
||||
{
|
||||
uint32_t cfg;
|
||||
@@ -1306,7 +1306,7 @@ populate_dot11f_power_constraints(tpAniSirGlobal mac,
|
||||
} /* End populate_dot11f_power_constraints. */
|
||||
|
||||
void
|
||||
populate_dot11f_qos_caps_ap(tpAniSirGlobal mac,
|
||||
populate_dot11f_qos_caps_ap(struct mac_context *mac,
|
||||
tDot11fIEQOSCapsAp *pDot11f, struct pe_session *pe_session)
|
||||
{
|
||||
pDot11f->count = pe_session->gLimEdcaParamSetCount;
|
||||
@@ -1318,7 +1318,7 @@ populate_dot11f_qos_caps_ap(tpAniSirGlobal mac,
|
||||
} /* End PopulatedDot11fQOSCaps. */
|
||||
|
||||
void
|
||||
populate_dot11f_qos_caps_station(tpAniSirGlobal mac, struct pe_session *pe_session,
|
||||
populate_dot11f_qos_caps_station(struct mac_context *mac, struct pe_session *pe_session,
|
||||
tDot11fIEQOSCapsStation *pDot11f)
|
||||
{
|
||||
uint8_t max_sp_length = 0;
|
||||
@@ -1343,7 +1343,7 @@ populate_dot11f_qos_caps_station(tpAniSirGlobal mac, struct pe_session *pe_sessi
|
||||
} /* End PopulatedDot11fQOSCaps. */
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_rsn(tpAniSirGlobal mac,
|
||||
populate_dot11f_rsn(struct mac_context *mac,
|
||||
tpSirRSNie pRsnIe, tDot11fIERSN *pDot11f)
|
||||
{
|
||||
uint32_t status;
|
||||
@@ -1368,7 +1368,7 @@ populate_dot11f_rsn(tpAniSirGlobal mac,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
} /* End populate_dot11f_rsn. */
|
||||
|
||||
QDF_STATUS populate_dot11f_rsn_opaque(tpAniSirGlobal mac,
|
||||
QDF_STATUS populate_dot11f_rsn_opaque(struct mac_context *mac,
|
||||
tpSirRSNie pRsnIe,
|
||||
tDot11fIERSNOpaque *pDot11f)
|
||||
{
|
||||
@@ -1391,7 +1391,7 @@ QDF_STATUS populate_dot11f_rsn_opaque(tpAniSirGlobal mac,
|
||||
#if defined(FEATURE_WLAN_WAPI)
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_wapi(tpAniSirGlobal mac,
|
||||
populate_dot11f_wapi(struct mac_context *mac,
|
||||
tpSirRSNie pRsnIe, tDot11fIEWAPI *pDot11f)
|
||||
{
|
||||
uint32_t status;
|
||||
@@ -1414,7 +1414,7 @@ populate_dot11f_wapi(tpAniSirGlobal mac,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
} /* End populate_dot11f_wapi. */
|
||||
|
||||
QDF_STATUS populate_dot11f_wapi_opaque(tpAniSirGlobal mac,
|
||||
QDF_STATUS populate_dot11f_wapi_opaque(struct mac_context *mac,
|
||||
tpSirRSNie pRsnIe,
|
||||
tDot11fIEWAPIOpaque *pDot11f)
|
||||
{
|
||||
@@ -1437,7 +1437,7 @@ QDF_STATUS populate_dot11f_wapi_opaque(tpAniSirGlobal mac,
|
||||
#endif /* defined(FEATURE_WLAN_WAPI) */
|
||||
|
||||
void
|
||||
populate_dot11f_ssid(tpAniSirGlobal mac,
|
||||
populate_dot11f_ssid(struct mac_context *mac,
|
||||
tSirMacSSid *pInternal, tDot11fIESSID *pDot11f)
|
||||
{
|
||||
pDot11f->present = 1;
|
||||
@@ -1448,7 +1448,7 @@ populate_dot11f_ssid(tpAniSirGlobal mac,
|
||||
}
|
||||
} /* End populate_dot11f_ssid. */
|
||||
|
||||
QDF_STATUS populate_dot11f_ssid2(tpAniSirGlobal mac, tDot11fIESSID *pDot11f)
|
||||
QDF_STATUS populate_dot11f_ssid2(struct mac_context *mac, tDot11fIESSID *pDot11f)
|
||||
{
|
||||
|
||||
qdf_mem_copy(pDot11f->ssid, mac->mlme_cfg->sap_cfg.cfg_ssid,
|
||||
@@ -1475,7 +1475,7 @@ populate_dot11f_schedule(tSirMacScheduleIE *pSchedule,
|
||||
} /* End populate_dot11f_schedule. */
|
||||
|
||||
void
|
||||
populate_dot11f_supp_channels(tpAniSirGlobal mac,
|
||||
populate_dot11f_supp_channels(struct mac_context *mac,
|
||||
tDot11fIESuppChannels *pDot11f,
|
||||
uint8_t nAssocType, struct pe_session *pe_session)
|
||||
{
|
||||
@@ -1503,7 +1503,7 @@ populate_dot11f_supp_channels(tpAniSirGlobal mac,
|
||||
} /* End populate_dot11f_supp_channels. */
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_supp_rates(tpAniSirGlobal mac,
|
||||
populate_dot11f_supp_rates(struct mac_context *mac,
|
||||
uint8_t nChannelNum,
|
||||
tDot11fIESuppRates *pDot11f, struct pe_session *pe_session)
|
||||
{
|
||||
@@ -1580,7 +1580,7 @@ populate_dot11f_supp_rates(tpAniSirGlobal mac,
|
||||
*/
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_rates_tdls(tpAniSirGlobal p_mac,
|
||||
populate_dot11f_rates_tdls(struct mac_context *p_mac,
|
||||
tDot11fIESuppRates *p_supp_rates,
|
||||
tDot11fIEExtSuppRates *p_ext_supp_rates,
|
||||
uint8_t curr_oper_channel)
|
||||
@@ -1673,7 +1673,7 @@ populate_dot11f_rates_tdls(tpAniSirGlobal p_mac,
|
||||
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_tpc_report(tpAniSirGlobal mac,
|
||||
populate_dot11f_tpc_report(struct mac_context *mac,
|
||||
tDot11fIETPCReport *pDot11f, struct pe_session *pe_session)
|
||||
{
|
||||
uint16_t staid;
|
||||
@@ -1710,7 +1710,7 @@ void populate_dot11f_ts_info(tSirMacTSInfo *pInfo, tDot11fFfTSInfo *pDot11f)
|
||||
pDot11f->schedule = pInfo->schedule.schedule;
|
||||
} /* End PopulatedDot11fTSInfo. */
|
||||
|
||||
void populate_dot11f_wmm(tpAniSirGlobal mac,
|
||||
void populate_dot11f_wmm(struct mac_context *mac,
|
||||
tDot11fIEWMMInfoAp *pInfo,
|
||||
tDot11fIEWMMParams *pParams,
|
||||
tDot11fIEWMMCaps *pCaps, struct pe_session *pe_session)
|
||||
@@ -1746,7 +1746,7 @@ void populate_dot11f_wmm_caps(tDot11fIEWMMCaps *pCaps)
|
||||
} /* End PopulateDot11fWmmCaps. */
|
||||
|
||||
#ifdef FEATURE_WLAN_ESE
|
||||
void populate_dot11f_re_assoc_tspec(tpAniSirGlobal mac,
|
||||
void populate_dot11f_re_assoc_tspec(struct mac_context *mac,
|
||||
tDot11fReAssocRequest *pReassoc,
|
||||
struct pe_session *pe_session)
|
||||
{
|
||||
@@ -1801,7 +1801,7 @@ void ese_populate_wmm_tspec(tSirMacTspecIE *source,
|
||||
|
||||
#endif
|
||||
|
||||
void populate_dot11f_wmm_info_ap(tpAniSirGlobal mac, tDot11fIEWMMInfoAp *pInfo,
|
||||
void populate_dot11f_wmm_info_ap(struct mac_context *mac, tDot11fIEWMMInfoAp *pInfo,
|
||||
struct pe_session *pe_session)
|
||||
{
|
||||
pInfo->version = SIR_MAC_OUI_VERSION_1;
|
||||
@@ -1823,7 +1823,7 @@ void populate_dot11f_wmm_info_ap(tpAniSirGlobal mac, tDot11fIEWMMInfoAp *pInfo,
|
||||
pInfo->present = 1;
|
||||
}
|
||||
|
||||
void populate_dot11f_wmm_info_station_per_session(tpAniSirGlobal mac,
|
||||
void populate_dot11f_wmm_info_station_per_session(struct mac_context *mac,
|
||||
struct pe_session *pe_session,
|
||||
tDot11fIEWMMInfoStation *pInfo)
|
||||
{
|
||||
@@ -1844,7 +1844,7 @@ void populate_dot11f_wmm_info_station_per_session(tpAniSirGlobal mac,
|
||||
pInfo->present = 1;
|
||||
}
|
||||
|
||||
void populate_dot11f_wmm_params(tpAniSirGlobal mac,
|
||||
void populate_dot11f_wmm_params(struct mac_context *mac,
|
||||
tDot11fIEWMMParams *pParams,
|
||||
struct pe_session *pe_session)
|
||||
{
|
||||
@@ -1935,7 +1935,7 @@ void populate_dot11f_wmm_schedule(tSirMacScheduleIE *pSchedule,
|
||||
} /* End populate_dot11f_wmm_schedule. */
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_wpa(tpAniSirGlobal mac,
|
||||
populate_dot11f_wpa(struct mac_context *mac,
|
||||
tpSirRSNie pRsnIe, tDot11fIEWPA *pDot11f)
|
||||
{
|
||||
uint32_t status;
|
||||
@@ -1958,7 +1958,7 @@ populate_dot11f_wpa(tpAniSirGlobal mac,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
} /* End populate_dot11f_wpa. */
|
||||
|
||||
QDF_STATUS populate_dot11f_wpa_opaque(tpAniSirGlobal mac,
|
||||
QDF_STATUS populate_dot11f_wpa_opaque(struct mac_context *mac,
|
||||
tpSirRSNie pRsnIe,
|
||||
tDot11fIEWPAOpaque *pDot11f)
|
||||
{
|
||||
@@ -1981,7 +1981,7 @@ QDF_STATUS populate_dot11f_wpa_opaque(tpAniSirGlobal mac,
|
||||
/* ////////////////////////////////////////////////////////////////////// */
|
||||
|
||||
QDF_STATUS
|
||||
sir_convert_probe_req_frame2_struct(tpAniSirGlobal mac,
|
||||
sir_convert_probe_req_frame2_struct(struct mac_context *mac,
|
||||
uint8_t *pFrame,
|
||||
uint32_t nFrame, tpSirProbeReq pProbeReq)
|
||||
{
|
||||
@@ -2071,7 +2071,7 @@ sir_convert_probe_req_frame2_struct(tpAniSirGlobal mac,
|
||||
* Return: 0 on success, error number otherwise.
|
||||
*/
|
||||
QDF_STATUS
|
||||
sir_validate_and_rectify_ies(tpAniSirGlobal mac_ctx,
|
||||
sir_validate_and_rectify_ies(struct mac_context *mac_ctx,
|
||||
uint8_t *mgmt_frame,
|
||||
uint32_t frame_bytes,
|
||||
uint32_t *missing_rsn_bytes)
|
||||
@@ -2115,7 +2115,7 @@ sir_validate_and_rectify_ies(tpAniSirGlobal mac_ctx,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
void sir_copy_caps_info(tpAniSirGlobal mac_ctx, tDot11fFfCapabilities caps,
|
||||
void sir_copy_caps_info(struct mac_context *mac_ctx, tDot11fFfCapabilities caps,
|
||||
tpSirProbeRespBeacon pProbeResp)
|
||||
{
|
||||
pProbeResp->capabilityInfo.ess = caps.ess;
|
||||
@@ -2137,7 +2137,7 @@ void sir_copy_caps_info(tpAniSirGlobal mac_ctx, tDot11fFfCapabilities caps,
|
||||
}
|
||||
|
||||
#ifdef WLAN_FEATURE_FILS_SK
|
||||
static void populate_dot11f_fils_rsn(tpAniSirGlobal mac_ctx,
|
||||
static void populate_dot11f_fils_rsn(struct mac_context *mac_ctx,
|
||||
tDot11fIERSNOpaque *p_dot11f,
|
||||
uint8_t *rsn_ie)
|
||||
{
|
||||
@@ -2149,7 +2149,7 @@ static void populate_dot11f_fils_rsn(tpAniSirGlobal mac_ctx,
|
||||
}
|
||||
}
|
||||
|
||||
void populate_dot11f_fils_params(tpAniSirGlobal mac_ctx,
|
||||
void populate_dot11f_fils_params(struct mac_context *mac_ctx,
|
||||
tDot11fAssocRequest *frm,
|
||||
struct pe_session *pe_session)
|
||||
{
|
||||
@@ -2258,7 +2258,7 @@ static inline void update_bss_color_change_ie_from_probe_rsp(
|
||||
tpSirProbeRespBeacon prb_rsp_struct)
|
||||
{}
|
||||
#endif
|
||||
QDF_STATUS sir_convert_probe_frame2_struct(tpAniSirGlobal mac,
|
||||
QDF_STATUS sir_convert_probe_frame2_struct(struct mac_context *mac,
|
||||
uint8_t *pFrame,
|
||||
uint32_t nFrame,
|
||||
tpSirProbeRespBeacon pProbeResp)
|
||||
@@ -2536,7 +2536,7 @@ QDF_STATUS sir_convert_probe_frame2_struct(tpAniSirGlobal mac,
|
||||
} /* End sir_convert_probe_frame2_struct. */
|
||||
|
||||
QDF_STATUS
|
||||
sir_convert_assoc_req_frame2_struct(tpAniSirGlobal mac,
|
||||
sir_convert_assoc_req_frame2_struct(struct mac_context *mac,
|
||||
uint8_t *pFrame,
|
||||
uint32_t nFrame, tpSirAssocReq pAssocReq)
|
||||
{
|
||||
@@ -2743,7 +2743,7 @@ sir_convert_assoc_req_frame2_struct(tpAniSirGlobal mac,
|
||||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
static QDF_STATUS dot11f_parse_assoc_response(tpAniSirGlobal mac_ctx,
|
||||
static QDF_STATUS dot11f_parse_assoc_response(struct mac_context *mac_ctx,
|
||||
uint8_t *p_buf, uint32_t n_buf,
|
||||
tDot11fAssocResponse *p_frm,
|
||||
bool append_ie)
|
||||
@@ -2832,7 +2832,7 @@ static inline void fils_convert_assoc_rsp_frame2_struct(tDot11fAssocResponse
|
||||
#endif
|
||||
|
||||
QDF_STATUS
|
||||
sir_convert_assoc_resp_frame2_struct(tpAniSirGlobal mac,
|
||||
sir_convert_assoc_resp_frame2_struct(struct mac_context *mac,
|
||||
struct pe_session *session_entry,
|
||||
uint8_t *pFrame, uint32_t nFrame,
|
||||
tpSirAssocRsp pAssocRsp)
|
||||
@@ -3080,7 +3080,7 @@ sir_convert_assoc_resp_frame2_struct(tpAniSirGlobal mac,
|
||||
} /* End sir_convert_assoc_resp_frame2_struct. */
|
||||
|
||||
QDF_STATUS
|
||||
sir_convert_reassoc_req_frame2_struct(tpAniSirGlobal mac,
|
||||
sir_convert_reassoc_req_frame2_struct(struct mac_context *mac,
|
||||
uint8_t *pFrame,
|
||||
uint32_t nFrame, tpSirAssocReq pAssocReq)
|
||||
{
|
||||
@@ -3256,7 +3256,7 @@ sir_convert_reassoc_req_frame2_struct(tpAniSirGlobal mac,
|
||||
|
||||
#ifdef FEATURE_WLAN_ESE
|
||||
QDF_STATUS
|
||||
sir_beacon_ie_ese_bcn_report(tpAniSirGlobal mac,
|
||||
sir_beacon_ie_ese_bcn_report(struct mac_context *mac,
|
||||
uint8_t *pPayload, const uint32_t nPayload,
|
||||
uint8_t **outIeBuf, uint32_t *pOutIeLen)
|
||||
{
|
||||
@@ -3555,7 +3555,7 @@ static inline void update_bss_color_change_from_beacon_ies(
|
||||
#endif
|
||||
|
||||
QDF_STATUS
|
||||
sir_parse_beacon_ie(tpAniSirGlobal mac,
|
||||
sir_parse_beacon_ie(struct mac_context *mac,
|
||||
tpSirProbeRespBeacon pBeaconStruct,
|
||||
uint8_t *pPayload, uint32_t nPayload)
|
||||
{
|
||||
@@ -3863,7 +3863,7 @@ static inline void convert_bcon_bss_color_change_ie(tDot11fBeacon *bcn_frm,
|
||||
#endif
|
||||
|
||||
QDF_STATUS
|
||||
sir_convert_beacon_frame2_struct(tpAniSirGlobal mac,
|
||||
sir_convert_beacon_frame2_struct(struct mac_context *mac,
|
||||
uint8_t *pFrame,
|
||||
tpSirProbeRespBeacon pBeaconStruct)
|
||||
{
|
||||
@@ -4270,7 +4270,7 @@ static void sir_update_auth_frame2_struct_fils_conf(tDot11fAuthentication *auth,
|
||||
#endif
|
||||
|
||||
QDF_STATUS
|
||||
sir_convert_auth_frame2_struct(tpAniSirGlobal mac,
|
||||
sir_convert_auth_frame2_struct(struct mac_context *mac,
|
||||
uint8_t *pFrame,
|
||||
uint32_t nFrame, tpSirMacAuthFrameBody pAuth)
|
||||
{
|
||||
@@ -4311,7 +4311,7 @@ sir_convert_auth_frame2_struct(tpAniSirGlobal mac,
|
||||
} /* End sir_convert_auth_frame2_struct. */
|
||||
|
||||
QDF_STATUS
|
||||
sir_convert_addts_req2_struct(tpAniSirGlobal mac,
|
||||
sir_convert_addts_req2_struct(struct mac_context *mac,
|
||||
uint8_t *pFrame,
|
||||
uint32_t nFrame, tSirAddtsReqInfo *pAddTs)
|
||||
{
|
||||
@@ -4435,7 +4435,7 @@ sir_convert_addts_req2_struct(tpAniSirGlobal mac,
|
||||
} /* End sir_convert_addts_req2_struct. */
|
||||
|
||||
QDF_STATUS
|
||||
sir_convert_addts_rsp2_struct(tpAniSirGlobal mac,
|
||||
sir_convert_addts_rsp2_struct(struct mac_context *mac,
|
||||
uint8_t *pFrame,
|
||||
uint32_t nFrame, tSirAddtsRspInfo *pAddTs)
|
||||
{
|
||||
@@ -4603,7 +4603,7 @@ sir_convert_addts_rsp2_struct(tpAniSirGlobal mac,
|
||||
} /* End sir_convert_addts_rsp2_struct. */
|
||||
|
||||
QDF_STATUS
|
||||
sir_convert_delts_req2_struct(tpAniSirGlobal mac,
|
||||
sir_convert_delts_req2_struct(struct mac_context *mac,
|
||||
uint8_t *pFrame,
|
||||
uint32_t nFrame, tSirDeltsReqInfo *pDelTs)
|
||||
{
|
||||
@@ -4685,7 +4685,7 @@ sir_convert_delts_req2_struct(tpAniSirGlobal mac,
|
||||
} /* End sir_convert_delts_req2_struct. */
|
||||
|
||||
QDF_STATUS
|
||||
sir_convert_qos_map_configure_frame2_struct(tpAniSirGlobal mac,
|
||||
sir_convert_qos_map_configure_frame2_struct(struct mac_context *mac,
|
||||
uint8_t *pFrame,
|
||||
uint32_t nFrame,
|
||||
tSirQosMapSet *pQosMapSet)
|
||||
@@ -4714,7 +4714,7 @@ sir_convert_qos_map_configure_frame2_struct(tpAniSirGlobal mac,
|
||||
|
||||
#ifdef ANI_SUPPORT_11H
|
||||
QDF_STATUS
|
||||
sir_convert_tpc_req_frame2_struct(tpAniSirGlobal mac,
|
||||
sir_convert_tpc_req_frame2_struct(struct mac_context *mac,
|
||||
uint8_t *pFrame,
|
||||
tpSirMacTpcReqActionFrame pTpcReqFrame,
|
||||
uint32_t nFrame)
|
||||
@@ -4750,7 +4750,7 @@ sir_convert_tpc_req_frame2_struct(tpAniSirGlobal mac,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
} /* End sir_convert_tpc_req_frame2_struct. */
|
||||
QDF_STATUS
|
||||
sir_convert_meas_req_frame2_struct(tpAniSirGlobal mac,
|
||||
sir_convert_meas_req_frame2_struct(struct mac_context *mac,
|
||||
uint8_t *pFrame,
|
||||
tpSirMacMeasReqActionFrame pMeasReqFrame,
|
||||
uint32_t nFrame)
|
||||
@@ -4909,7 +4909,7 @@ void populate_dot11f_ese_rad_mgmt_cap(tDot11fIEESERadMgmtCap *pESERadMgmtCap)
|
||||
pESERadMgmtCap->reserved = 0;
|
||||
}
|
||||
|
||||
QDF_STATUS populate_dot11f_ese_cckm_opaque(tpAniSirGlobal mac,
|
||||
QDF_STATUS populate_dot11f_ese_cckm_opaque(struct mac_context *mac,
|
||||
tpSirCCKMie pCCKMie,
|
||||
tDot11fIEESECckmOpaque *pDot11f)
|
||||
{
|
||||
@@ -4929,7 +4929,7 @@ QDF_STATUS populate_dot11f_ese_cckm_opaque(tpAniSirGlobal mac,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
} /* End populate_dot11f_ese_cckm_opaque. */
|
||||
|
||||
void populate_dot11_tsrsie(tpAniSirGlobal mac,
|
||||
void populate_dot11_tsrsie(struct mac_context *mac,
|
||||
tSirMacESETSRSIE *pOld,
|
||||
tDot11fIEESETrafStrmRateSet *pDot11f,
|
||||
uint8_t rate_length)
|
||||
@@ -4942,7 +4942,7 @@ void populate_dot11_tsrsie(tpAniSirGlobal mac,
|
||||
#endif
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_tclas(tpAniSirGlobal mac,
|
||||
populate_dot11f_tclas(struct mac_context *mac,
|
||||
tSirTclasInfo *pOld, tDot11fIETCLAS *pDot11f)
|
||||
{
|
||||
pDot11f->user_priority = pOld->tclas.userPrio;
|
||||
@@ -5010,7 +5010,7 @@ populate_dot11f_tclas(tpAniSirGlobal mac,
|
||||
} /* End populate_dot11f_tclas. */
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_wmmtclas(tpAniSirGlobal mac,
|
||||
populate_dot11f_wmmtclas(struct mac_context *mac,
|
||||
tSirTclasInfo *pOld, tDot11fIEWMMTCLAS *pDot11f)
|
||||
{
|
||||
pDot11f->version = 1;
|
||||
@@ -5082,7 +5082,7 @@ populate_dot11f_wmmtclas(tpAniSirGlobal mac,
|
||||
|
||||
} /* End populate_dot11f_wmmtclas. */
|
||||
|
||||
QDF_STATUS populate_dot11f_wsc(tpAniSirGlobal mac,
|
||||
QDF_STATUS populate_dot11f_wsc(struct mac_context *mac,
|
||||
tDot11fIEWscBeacon *pDot11f)
|
||||
{
|
||||
|
||||
@@ -5113,7 +5113,7 @@ QDF_STATUS populate_dot11f_wsc(tpAniSirGlobal mac,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS populate_dot11f_wsc_registrar_info(tpAniSirGlobal mac,
|
||||
QDF_STATUS populate_dot11f_wsc_registrar_info(struct mac_context *mac,
|
||||
tDot11fIEWscBeacon *pDot11f)
|
||||
{
|
||||
const struct sLimWscIeInfo *const pWscIeInfo = &(mac->lim.wscIeInfo);
|
||||
@@ -5137,7 +5137,7 @@ QDF_STATUS populate_dot11f_wsc_registrar_info(tpAniSirGlobal mac,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS de_populate_dot11f_wsc_registrar_info(tpAniSirGlobal mac,
|
||||
QDF_STATUS de_populate_dot11f_wsc_registrar_info(struct mac_context *mac,
|
||||
tDot11fIEWscBeacon *pDot11f)
|
||||
{
|
||||
pDot11f->APSetupLocked.present = 0;
|
||||
@@ -5148,7 +5148,7 @@ QDF_STATUS de_populate_dot11f_wsc_registrar_info(tpAniSirGlobal mac,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS populate_dot11f_probe_res_wpsi_es(tpAniSirGlobal mac,
|
||||
QDF_STATUS populate_dot11f_probe_res_wpsi_es(struct mac_context *mac,
|
||||
tDot11fIEWscProbeRes *pDot11f,
|
||||
struct pe_session *pe_session)
|
||||
{
|
||||
@@ -5307,7 +5307,7 @@ QDF_STATUS populate_dot11f_probe_res_wpsi_es(tpAniSirGlobal mac,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS populate_dot11f_assoc_res_wpsi_es(tpAniSirGlobal mac,
|
||||
QDF_STATUS populate_dot11f_assoc_res_wpsi_es(struct mac_context *mac,
|
||||
tDot11fIEWscAssocRes *pDot11f,
|
||||
struct pe_session *pe_session)
|
||||
{
|
||||
@@ -5337,7 +5337,7 @@ QDF_STATUS populate_dot11f_assoc_res_wpsi_es(tpAniSirGlobal mac,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS populate_dot11f_beacon_wpsi_es(tpAniSirGlobal mac,
|
||||
QDF_STATUS populate_dot11f_beacon_wpsi_es(struct mac_context *mac,
|
||||
tDot11fIEWscBeacon *pDot11f,
|
||||
struct pe_session *pe_session)
|
||||
{
|
||||
@@ -5411,7 +5411,7 @@ QDF_STATUS populate_dot11f_beacon_wpsi_es(tpAniSirGlobal mac,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS populate_dot11f_wsc_in_probe_res(tpAniSirGlobal mac,
|
||||
QDF_STATUS populate_dot11f_wsc_in_probe_res(struct mac_context *mac,
|
||||
tDot11fIEWscProbeRes *pDot11f)
|
||||
{
|
||||
uint32_t cfgStrLen;
|
||||
@@ -5541,7 +5541,7 @@ QDF_STATUS populate_dot11f_wsc_in_probe_res(tpAniSirGlobal mac,
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_wsc_registrar_info_in_probe_res(tpAniSirGlobal mac,
|
||||
populate_dot11f_wsc_registrar_info_in_probe_res(struct mac_context *mac,
|
||||
tDot11fIEWscProbeRes *pDot11f)
|
||||
{
|
||||
const struct sLimWscIeInfo *const pWscIeInfo = &(mac->lim.wscIeInfo);
|
||||
@@ -5566,7 +5566,7 @@ populate_dot11f_wsc_registrar_info_in_probe_res(tpAniSirGlobal mac,
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
de_populate_dot11f_wsc_registrar_info_in_probe_res(tpAniSirGlobal mac,
|
||||
de_populate_dot11f_wsc_registrar_info_in_probe_res(struct mac_context *mac,
|
||||
tDot11fIEWscProbeRes *
|
||||
pDot11f)
|
||||
{
|
||||
@@ -5578,7 +5578,7 @@ de_populate_dot11f_wsc_registrar_info_in_probe_res(tpAniSirGlobal mac,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS populate_dot11f_assoc_res_wsc_ie(tpAniSirGlobal mac,
|
||||
QDF_STATUS populate_dot11f_assoc_res_wsc_ie(struct mac_context *mac,
|
||||
tDot11fIEWscAssocRes *pDot11f,
|
||||
tpSirAssocReq pRcvdAssocReq)
|
||||
{
|
||||
@@ -5636,7 +5636,7 @@ QDF_STATUS populate_dot11f_assoc_res_wsc_ie(tpAniSirGlobal mac,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS populate_dot11_assoc_res_p2p_ie(tpAniSirGlobal mac,
|
||||
QDF_STATUS populate_dot11_assoc_res_p2p_ie(struct mac_context *mac,
|
||||
tDot11fIEP2PAssocRes *pDot11f,
|
||||
tpSirAssocReq pRcvdAssocReq)
|
||||
{
|
||||
@@ -5654,7 +5654,7 @@ QDF_STATUS populate_dot11_assoc_res_p2p_ie(tpAniSirGlobal mac,
|
||||
}
|
||||
|
||||
|
||||
QDF_STATUS populate_dot11f_wfatpc(tpAniSirGlobal mac,
|
||||
QDF_STATUS populate_dot11f_wfatpc(struct mac_context *mac,
|
||||
tDot11fIEWFATPC *pDot11f, uint8_t txPower,
|
||||
uint8_t linkMargin)
|
||||
{
|
||||
@@ -5666,7 +5666,7 @@ QDF_STATUS populate_dot11f_wfatpc(tpAniSirGlobal mac,
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
populate_dot11f_beacon_report(tpAniSirGlobal mac,
|
||||
populate_dot11f_beacon_report(struct mac_context *mac,
|
||||
tDot11fIEMeasurementReport *pDot11f,
|
||||
tSirMacBeaconReport *pBeaconReport,
|
||||
bool is_last_frame)
|
||||
@@ -5726,7 +5726,7 @@ populate_dot11f_beacon_report(tpAniSirGlobal mac,
|
||||
|
||||
}
|
||||
|
||||
QDF_STATUS populate_dot11f_rrm_ie(tpAniSirGlobal mac,
|
||||
QDF_STATUS populate_dot11f_rrm_ie(struct mac_context *mac,
|
||||
tDot11fIERRMEnabledCap *pDot11f,
|
||||
struct pe_session *pe_session)
|
||||
{
|
||||
@@ -5775,7 +5775,7 @@ QDF_STATUS populate_dot11f_rrm_ie(tpAniSirGlobal mac,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
void populate_mdie(tpAniSirGlobal mac,
|
||||
void populate_mdie(struct mac_context *mac,
|
||||
tDot11fIEMobilityDomain *pDot11f,
|
||||
uint8_t mdie[SIR_MDIE_SIZE])
|
||||
{
|
||||
@@ -5788,7 +5788,7 @@ void populate_mdie(tpAniSirGlobal mac,
|
||||
|
||||
}
|
||||
|
||||
void populate_ft_info(tpAniSirGlobal mac, tDot11fIEFTInfo *pDot11f)
|
||||
void populate_ft_info(struct mac_context *mac, tDot11fIEFTInfo *pDot11f)
|
||||
{
|
||||
pDot11f->present = 1;
|
||||
pDot11f->IECount = 0; /* TODO: put valid data during reassoc. */
|
||||
@@ -5796,7 +5796,7 @@ void populate_ft_info(tpAniSirGlobal mac, tDot11fIEFTInfo *pDot11f)
|
||||
|
||||
}
|
||||
|
||||
void populate_dot11f_assoc_rsp_rates(tpAniSirGlobal mac,
|
||||
void populate_dot11f_assoc_rsp_rates(struct mac_context *mac,
|
||||
tDot11fIESuppRates *pSupp,
|
||||
tDot11fIEExtSuppRates *pExt,
|
||||
uint16_t *_11bRates, uint16_t *_11aRates)
|
||||
@@ -5824,7 +5824,7 @@ void populate_dot11f_assoc_rsp_rates(tpAniSirGlobal mac,
|
||||
}
|
||||
}
|
||||
|
||||
void populate_dot11f_timeout_interval(tpAniSirGlobal mac,
|
||||
void populate_dot11f_timeout_interval(struct mac_context *mac,
|
||||
tDot11fIETimeoutInterval *pDot11f,
|
||||
uint8_t type, uint32_t value)
|
||||
{
|
||||
@@ -5841,7 +5841,7 @@ void populate_dot11f_timeout_interval(tpAniSirGlobal mac,
|
||||
* Return: The SIR status.
|
||||
*/
|
||||
QDF_STATUS
|
||||
populate_dot11f_timing_advert_frame(tpAniSirGlobal mac_ctx,
|
||||
populate_dot11f_timing_advert_frame(struct mac_context *mac_ctx,
|
||||
tDot11fTimingAdvertisementFrame *frame)
|
||||
{
|
||||
uint32_t val, len;
|
||||
@@ -5905,7 +5905,7 @@ populate_dot11f_timing_advert_frame(tpAniSirGlobal mac_ctx,
|
||||
*
|
||||
* Populdate the HE capability IE based on the session.
|
||||
*/
|
||||
QDF_STATUS populate_dot11f_he_caps(tpAniSirGlobal mac_ctx, struct pe_session *session,
|
||||
QDF_STATUS populate_dot11f_he_caps(struct mac_context *mac_ctx, struct pe_session *session,
|
||||
tDot11fIEhe_cap *he_cap)
|
||||
{
|
||||
uint8_t *ppet;
|
||||
@@ -5953,7 +5953,7 @@ QDF_STATUS populate_dot11f_he_caps(tpAniSirGlobal mac_ctx, struct pe_session *se
|
||||
* Populdate the HE Operation IE based on the session.
|
||||
*/
|
||||
QDF_STATUS
|
||||
populate_dot11f_he_operation(tpAniSirGlobal mac_ctx,
|
||||
populate_dot11f_he_operation(struct mac_context *mac_ctx,
|
||||
struct pe_session *session, tDot11fIEhe_op *he_op)
|
||||
{
|
||||
qdf_mem_copy(he_op, &session->he_op, sizeof(*he_op));
|
||||
@@ -5990,7 +5990,7 @@ populate_dot11f_he_operation(tpAniSirGlobal mac_ctx,
|
||||
* Populdate the HE BSS color change IE based on the session.
|
||||
*/
|
||||
QDF_STATUS
|
||||
populate_dot11f_he_bss_color_change(tpAniSirGlobal mac_ctx,
|
||||
populate_dot11f_he_bss_color_change(struct mac_context *mac_ctx,
|
||||
struct pe_session *session,
|
||||
tDot11fIEbss_color_change *he_bss_color)
|
||||
{
|
||||
@@ -6011,7 +6011,7 @@ populate_dot11f_he_bss_color_change(tpAniSirGlobal mac_ctx,
|
||||
#endif
|
||||
|
||||
#ifdef WLAN_SUPPORT_TWT
|
||||
QDF_STATUS populate_dot11f_twt_extended_caps(tpAniSirGlobal mac_ctx,
|
||||
QDF_STATUS populate_dot11f_twt_extended_caps(struct mac_context *mac_ctx,
|
||||
struct pe_session *pe_session,
|
||||
tDot11fIEExtCap *dot11f)
|
||||
{
|
||||
|
@@ -32,27 +32,27 @@
|
||||
#include "utils_parser.h"
|
||||
#include "lim_ser_des_utils.h"
|
||||
|
||||
void convert_ssid(tpAniSirGlobal mac, tSirMacSSid *pOld, tDot11fIESSID *pNew)
|
||||
void convert_ssid(struct mac_context * mac, tSirMacSSid *pOld, tDot11fIESSID *pNew)
|
||||
{
|
||||
pOld->length = pNew->num_ssid;
|
||||
qdf_mem_copy(pOld->ssId, pNew->ssid, pNew->num_ssid);
|
||||
}
|
||||
|
||||
void convert_supp_rates(tpAniSirGlobal mac,
|
||||
void convert_supp_rates(struct mac_context * mac,
|
||||
tSirMacRateSet *pOld, tDot11fIESuppRates *pNew)
|
||||
{
|
||||
pOld->numRates = pNew->num_rates;
|
||||
qdf_mem_copy(pOld->rate, pNew->rates, pNew->num_rates);
|
||||
}
|
||||
|
||||
void convert_ext_supp_rates(tpAniSirGlobal mac,
|
||||
void convert_ext_supp_rates(struct mac_context * mac,
|
||||
tSirMacRateSet *pOld, tDot11fIEExtSuppRates *pNew)
|
||||
{
|
||||
pOld->numRates = pNew->num_rates;
|
||||
qdf_mem_copy(pOld->rate, pNew->rates, pNew->num_rates);
|
||||
}
|
||||
|
||||
void convert_qos_caps(tpAniSirGlobal mac,
|
||||
void convert_qos_caps(struct mac_context * mac,
|
||||
tSirMacQosCapabilityIE *pOld, tDot11fIEQOSCapsAp *pNew)
|
||||
{
|
||||
pOld->type = 46;
|
||||
@@ -61,7 +61,7 @@ void convert_qos_caps(tpAniSirGlobal mac,
|
||||
pOld->qosInfo.count = pNew->count;
|
||||
}
|
||||
|
||||
void convert_qos_caps_station(tpAniSirGlobal mac,
|
||||
void convert_qos_caps_station(struct mac_context * mac,
|
||||
tSirMacQosCapabilityStaIE *pOld,
|
||||
tDot11fIEQOSCapsStation *pNew)
|
||||
{
|
||||
@@ -77,7 +77,7 @@ void convert_qos_caps_station(tpAniSirGlobal mac,
|
||||
pOld->qosInfo.acvo_uapsd = pNew->acvo_uapsd;
|
||||
}
|
||||
|
||||
QDF_STATUS convert_wpa(tpAniSirGlobal mac,
|
||||
QDF_STATUS convert_wpa(struct mac_context * mac,
|
||||
tSirMacWpaInfo *pOld, tDot11fIEWPA *pNew)
|
||||
{
|
||||
/* This is awful, I know, but the old code just rammed the IE into an */
|
||||
@@ -97,7 +97,7 @@ QDF_STATUS convert_wpa(tpAniSirGlobal mac,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS convert_wpa_opaque(tpAniSirGlobal mac,
|
||||
QDF_STATUS convert_wpa_opaque(struct mac_context * mac,
|
||||
tSirMacWpaInfo *pOld, tDot11fIEWPAOpaque *pNew)
|
||||
{
|
||||
/* This is awful, I know, but the old code just rammed the IE into */
|
||||
@@ -113,7 +113,7 @@ QDF_STATUS convert_wpa_opaque(tpAniSirGlobal mac,
|
||||
}
|
||||
|
||||
#ifdef FEATURE_WLAN_WAPI
|
||||
QDF_STATUS convert_wapi_opaque(tpAniSirGlobal mac,
|
||||
QDF_STATUS convert_wapi_opaque(struct mac_context * mac,
|
||||
tSirMacWapiInfo *pOld,
|
||||
tDot11fIEWAPIOpaque *pNew)
|
||||
{
|
||||
@@ -126,7 +126,7 @@ QDF_STATUS convert_wapi_opaque(tpAniSirGlobal mac,
|
||||
}
|
||||
#endif
|
||||
|
||||
QDF_STATUS convert_wsc_opaque(tpAniSirGlobal mac,
|
||||
QDF_STATUS convert_wsc_opaque(struct mac_context * mac,
|
||||
tSirAddie *pOld, tDot11fIEWscIEOpaque *pNew)
|
||||
{
|
||||
/* This is awful, I know, but the old code just rammed the IE into */
|
||||
@@ -145,7 +145,7 @@ QDF_STATUS convert_wsc_opaque(tpAniSirGlobal mac,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS convert_p2p_opaque(tpAniSirGlobal mac,
|
||||
QDF_STATUS convert_p2p_opaque(struct mac_context * mac,
|
||||
tSirAddie *pOld, tDot11fIEP2PIEOpaque *pNew)
|
||||
{
|
||||
/* This is awful, I know, but the old code just rammed the IE into */
|
||||
@@ -165,7 +165,7 @@ QDF_STATUS convert_p2p_opaque(tpAniSirGlobal mac,
|
||||
}
|
||||
|
||||
#ifdef WLAN_FEATURE_WFD
|
||||
QDF_STATUS convert_wfd_opaque(tpAniSirGlobal mac,
|
||||
QDF_STATUS convert_wfd_opaque(struct mac_context * mac,
|
||||
tSirAddie *pOld, tDot11fIEWFDIEOpaque *pNew)
|
||||
{
|
||||
/* This is awful, I know, but the old code just rammed the IE into */
|
||||
@@ -185,7 +185,7 @@ QDF_STATUS convert_wfd_opaque(tpAniSirGlobal mac,
|
||||
}
|
||||
#endif
|
||||
|
||||
QDF_STATUS convert_rsn(tpAniSirGlobal mac,
|
||||
QDF_STATUS convert_rsn(struct mac_context * mac,
|
||||
tSirMacRsnInfo *pOld, tDot11fIERSN *pNew)
|
||||
{
|
||||
uint8_t buffer[257];
|
||||
@@ -203,7 +203,7 @@ QDF_STATUS convert_rsn(tpAniSirGlobal mac,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS convert_rsn_opaque(tpAniSirGlobal mac,
|
||||
QDF_STATUS convert_rsn_opaque(struct mac_context * mac,
|
||||
tSirMacRsnInfo *pOld, tDot11fIERSNOpaque *pNew)
|
||||
{
|
||||
/* This is awful, I know, but the old code just rammed the IE into */
|
||||
@@ -214,7 +214,7 @@ QDF_STATUS convert_rsn_opaque(tpAniSirGlobal mac,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
void convert_power_caps(tpAniSirGlobal mac,
|
||||
void convert_power_caps(struct mac_context * mac,
|
||||
tSirMacPowerCapabilityIE *pOld,
|
||||
tDot11fIEPowerCaps *pNew)
|
||||
{
|
||||
@@ -224,7 +224,7 @@ void convert_power_caps(tpAniSirGlobal mac,
|
||||
pOld->maxTxPower = pNew->maxTxPower;
|
||||
}
|
||||
|
||||
void convert_supp_channels(tpAniSirGlobal mac,
|
||||
void convert_supp_channels(struct mac_context * mac,
|
||||
tSirMacSupportedChannelIE *pOld,
|
||||
tDot11fIESuppChannels *pNew)
|
||||
{
|
||||
@@ -234,7 +234,7 @@ void convert_supp_channels(tpAniSirGlobal mac,
|
||||
(uint8_t *) pNew->bands, pOld->length);
|
||||
}
|
||||
|
||||
void convert_cf_params(tpAniSirGlobal mac,
|
||||
void convert_cf_params(struct mac_context * mac,
|
||||
tSirMacCfParamSet *pOld, tDot11fIECFParams *pNew)
|
||||
{
|
||||
pOld->cfpCount = pNew->cfp_count;
|
||||
@@ -243,7 +243,7 @@ void convert_cf_params(tpAniSirGlobal mac,
|
||||
pOld->cfpDurRemaining = pNew->cfp_durremaining;
|
||||
}
|
||||
|
||||
void convert_fh_params(tpAniSirGlobal mac,
|
||||
void convert_fh_params(struct mac_context * mac,
|
||||
tSirMacFHParamSet *pOld, tDot11fIEFHParamSet *pNew)
|
||||
{
|
||||
pOld->dwellTime = pNew->dwell_time;
|
||||
@@ -252,7 +252,7 @@ void convert_fh_params(tpAniSirGlobal mac,
|
||||
pOld->hopIndex = pNew->hop_index;
|
||||
}
|
||||
|
||||
void convert_tim(tpAniSirGlobal mac, tSirMacTim *pOld, tDot11fIETIM *pNew)
|
||||
void convert_tim(struct mac_context * mac, tSirMacTim *pOld, tDot11fIETIM *pNew)
|
||||
{
|
||||
pOld->dtimCount = pNew->dtim_count;
|
||||
pOld->dtimPeriod = pNew->dtim_period;
|
||||
@@ -262,7 +262,7 @@ void convert_tim(tpAniSirGlobal mac, tSirMacTim *pOld, tDot11fIETIM *pNew)
|
||||
qdf_mem_copy(pOld->bitmap, pNew->vbmp, pNew->num_vbmp);
|
||||
}
|
||||
|
||||
void convert_country(tpAniSirGlobal mac,
|
||||
void convert_country(struct mac_context * mac,
|
||||
tSirCountryInformation *pOld, tDot11fIECountry *pNew)
|
||||
{
|
||||
int i;
|
||||
@@ -280,7 +280,7 @@ void convert_country(tpAniSirGlobal mac,
|
||||
}
|
||||
}
|
||||
|
||||
void convert_wmm_params(tpAniSirGlobal mac,
|
||||
void convert_wmm_params(struct mac_context * mac,
|
||||
tSirMacEdcaParamSetIE *pOld, tDot11fIEWMMParams *pNew)
|
||||
{
|
||||
pOld->type = 221;
|
||||
@@ -318,7 +318,7 @@ void convert_wmm_params(tpAniSirGlobal mac,
|
||||
pOld->acvo.txoplimit = pNew->acvo_txoplimit;
|
||||
}
|
||||
|
||||
void convert_erp_info(tpAniSirGlobal mac,
|
||||
void convert_erp_info(struct mac_context * mac,
|
||||
tSirMacErpInfo *pOld, tDot11fIEERPInfo *pNew)
|
||||
{
|
||||
pOld->nonErpPresent = pNew->non_erp_present;
|
||||
@@ -326,7 +326,7 @@ void convert_erp_info(tpAniSirGlobal mac,
|
||||
pOld->barkerPreambleMode = pNew->barker_preamble;
|
||||
}
|
||||
|
||||
void convert_edca_param(tpAniSirGlobal mac,
|
||||
void convert_edca_param(struct mac_context * mac,
|
||||
tSirMacEdcaParamSetIE *pOld,
|
||||
tDot11fIEEDCAParamSet *pNew)
|
||||
{
|
||||
@@ -365,7 +365,7 @@ void convert_edca_param(tpAniSirGlobal mac,
|
||||
|
||||
}
|
||||
|
||||
void convert_mu_edca_param(tpAniSirGlobal mac_ctx,
|
||||
void convert_mu_edca_param(struct mac_context * mac_ctx,
|
||||
tSirMacEdcaParamSetIE *mu_edca,
|
||||
tDot11fIEmu_edca_param_set *ie)
|
||||
{
|
||||
@@ -401,7 +401,7 @@ void convert_mu_edca_param(tpAniSirGlobal mac_ctx,
|
||||
|
||||
}
|
||||
|
||||
void convert_tspec(tpAniSirGlobal mac,
|
||||
void convert_tspec(struct mac_context * mac,
|
||||
tSirMacTspecIE *pOld, tDot11fIETSPEC *pNew)
|
||||
{
|
||||
pOld->tsinfo.traffic.trafficType = (uint16_t) pNew->traffic_type;
|
||||
@@ -432,7 +432,7 @@ void convert_tspec(tpAniSirGlobal mac,
|
||||
pOld->mediumTime = pNew->medium_time;
|
||||
}
|
||||
|
||||
QDF_STATUS convert_tclas(tpAniSirGlobal mac,
|
||||
QDF_STATUS convert_tclas(struct mac_context * mac,
|
||||
tSirTclasInfo *pOld, tDot11fIETCLAS *pNew)
|
||||
{
|
||||
uint32_t length = 0;
|
||||
@@ -508,7 +508,7 @@ QDF_STATUS convert_tclas(tpAniSirGlobal mac,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
void convert_wmmtspec(tpAniSirGlobal mac,
|
||||
void convert_wmmtspec(struct mac_context * mac,
|
||||
tSirMacTspecIE *pOld, tDot11fIEWMMTSPEC *pNew)
|
||||
{
|
||||
pOld->tsinfo.traffic.trafficType = (uint16_t) pNew->traffic_type;
|
||||
@@ -536,7 +536,7 @@ void convert_wmmtspec(tpAniSirGlobal mac,
|
||||
pOld->mediumTime = pNew->medium_time;
|
||||
}
|
||||
|
||||
QDF_STATUS convert_wmmtclas(tpAniSirGlobal mac,
|
||||
QDF_STATUS convert_wmmtclas(struct mac_context * mac,
|
||||
tSirTclasInfo *pOld, tDot11fIEWMMTCLAS *pNew)
|
||||
{
|
||||
uint32_t length = 0;
|
||||
@@ -612,7 +612,7 @@ QDF_STATUS convert_wmmtclas(tpAniSirGlobal mac,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
void convert_ts_delay(tpAniSirGlobal mac,
|
||||
void convert_ts_delay(struct mac_context * mac,
|
||||
tSirMacTsDelayIE *pOld, tDot11fIETSDelay *pNew)
|
||||
{
|
||||
pOld->type = DOT11F_EID_TSDELAY;
|
||||
@@ -620,7 +620,7 @@ void convert_ts_delay(tpAniSirGlobal mac,
|
||||
pOld->delay = pNew->delay;
|
||||
}
|
||||
|
||||
void convert_schedule(tpAniSirGlobal mac,
|
||||
void convert_schedule(struct mac_context * mac,
|
||||
tSirMacScheduleIE *pOld, tDot11fIESchedule *pNew)
|
||||
{
|
||||
pOld->type = DOT11F_EID_SCHEDULE;
|
||||
@@ -635,7 +635,7 @@ void convert_schedule(tpAniSirGlobal mac,
|
||||
pOld->specInterval = pNew->spec_interval;
|
||||
}
|
||||
|
||||
void convert_wmm_schedule(tpAniSirGlobal mac,
|
||||
void convert_wmm_schedule(struct mac_context * mac,
|
||||
tSirMacScheduleIE *pOld, tDot11fIEWMMSchedule *pNew)
|
||||
{
|
||||
pOld->type = DOT11F_EID_WMMSCHEDULE;
|
||||
@@ -650,7 +650,7 @@ void convert_wmm_schedule(tpAniSirGlobal mac,
|
||||
pOld->specInterval = pNew->spec_interval;
|
||||
}
|
||||
|
||||
void convert_qos_mapset_frame(tpAniSirGlobal mac, tSirQosMapSet *Qos,
|
||||
void convert_qos_mapset_frame(struct mac_context * mac, tSirQosMapSet *Qos,
|
||||
tDot11fIEQosMapSet *dot11fIE)
|
||||
{
|
||||
uint8_t i, j = 0;
|
||||
|
Reference in New Issue
Block a user