qcacld-3.0: Replace tpAniSirGlobal in SCH
To align with the Linux coding style replace tpAniSirGlobal with struct mac_context * in: sch_api.c sch_api.h sch_beacon_gen.c sch_beacon_process.c sch_message.c Change-Id: If8f67e3c3ef6bbd6da3ac2c3acfb45048f58fe53 CRs-Fixed: 2360302
This commit is contained in:
@@ -35,25 +35,25 @@
|
||||
#include "ani_global.h"
|
||||
|
||||
/* update only the broadcast qos params */
|
||||
void sch_qos_update_broadcast(tpAniSirGlobal mac,
|
||||
void sch_qos_update_broadcast(struct mac_context *mac,
|
||||
struct pe_session *pe_session);
|
||||
|
||||
/* fill in the default local edca parameter into gLimEdcaParams[] */
|
||||
void sch_set_default_edca_params(tpAniSirGlobal mac, struct pe_session *pe_session);
|
||||
void sch_set_default_edca_params(struct mac_context *mac, struct pe_session *pe_session);
|
||||
|
||||
/* update only local qos params */
|
||||
void sch_qos_update_local(tpAniSirGlobal mac, struct pe_session *pe_session);
|
||||
void sch_qos_update_local(struct mac_context *mac, struct pe_session *pe_session);
|
||||
|
||||
/* update the edca profile parameters */
|
||||
void sch_edca_profile_update(tpAniSirGlobal mac,
|
||||
void sch_edca_profile_update(struct mac_context *mac,
|
||||
struct pe_session *pe_session);
|
||||
|
||||
/* / Set the fixed fields in a beacon frame */
|
||||
QDF_STATUS sch_set_fixed_beacon_fields(tpAniSirGlobal mac,
|
||||
QDF_STATUS sch_set_fixed_beacon_fields(struct mac_context *mac,
|
||||
struct pe_session *pe_session);
|
||||
|
||||
/* / Process the scheduler messages */
|
||||
void sch_process_message(tpAniSirGlobal mac,
|
||||
void sch_process_message(struct mac_context *mac,
|
||||
struct scheduler_msg *pSchMsg);
|
||||
|
||||
/**
|
||||
@@ -64,24 +64,24 @@ void sch_process_message(tpAniSirGlobal mac,
|
||||
*
|
||||
* return: success: QDF_STATUS_SUCCESS failure: QDF_STATUS_E_FAILURE
|
||||
*/
|
||||
QDF_STATUS sch_process_pre_beacon_ind(tpAniSirGlobal mac,
|
||||
QDF_STATUS sch_process_pre_beacon_ind(struct mac_context *mac,
|
||||
struct scheduler_msg *msg,
|
||||
enum sir_bcn_update_reason reason);
|
||||
|
||||
/* / Post a message to the scheduler message queue */
|
||||
QDF_STATUS sch_post_message(tpAniSirGlobal mac,
|
||||
QDF_STATUS sch_post_message(struct mac_context *mac,
|
||||
struct scheduler_msg *pMsg);
|
||||
|
||||
void sch_beacon_process(tpAniSirGlobal mac, uint8_t *pRxPacketInfo,
|
||||
void sch_beacon_process(struct mac_context *mac, uint8_t *pRxPacketInfo,
|
||||
struct pe_session *pe_session);
|
||||
|
||||
QDF_STATUS sch_beacon_edca_process(tpAniSirGlobal mac,
|
||||
QDF_STATUS sch_beacon_edca_process(struct mac_context *mac,
|
||||
tSirMacEdcaParamSetIE *edca,
|
||||
struct pe_session *pe_session);
|
||||
|
||||
void sch_generate_tim(tpAniSirGlobal, uint8_t **, uint16_t *, uint8_t);
|
||||
void sch_generate_tim(struct mac_context *, uint8_t **, uint16_t *, uint8_t);
|
||||
|
||||
void sch_set_beacon_interval(tpAniSirGlobal mac, struct pe_session *pe_session);
|
||||
void sch_set_beacon_interval(struct mac_context *mac, struct pe_session *pe_session);
|
||||
|
||||
/**
|
||||
* sch_send_beacon_req() - send beacon update req to wma
|
||||
@@ -93,25 +93,25 @@ void sch_set_beacon_interval(tpAniSirGlobal mac, struct pe_session *pe_session);
|
||||
*
|
||||
* return: success: QDF_STATUS_SUCCESS failure: QDF_STATUS_E_FAILURE
|
||||
*/
|
||||
QDF_STATUS sch_send_beacon_req(tpAniSirGlobal mac_ctx, uint8_t *bcn_payload,
|
||||
QDF_STATUS sch_send_beacon_req(struct mac_context *mac_ctx, uint8_t *bcn_payload,
|
||||
uint16_t size, struct pe_session *session,
|
||||
enum sir_bcn_update_reason reason);
|
||||
|
||||
|
||||
QDF_STATUS lim_update_probe_rsp_template_ie_bitmap_beacon1(tpAniSirGlobal,
|
||||
QDF_STATUS lim_update_probe_rsp_template_ie_bitmap_beacon1(struct mac_context *,
|
||||
tDot11fBeacon1 *,
|
||||
struct pe_session *
|
||||
pe_session);
|
||||
void lim_update_probe_rsp_template_ie_bitmap_beacon2(tpAniSirGlobal,
|
||||
void lim_update_probe_rsp_template_ie_bitmap_beacon2(struct mac_context *,
|
||||
tDot11fBeacon2 *,
|
||||
uint32_t *,
|
||||
tDot11fProbeResponse *);
|
||||
void set_probe_rsp_ie_bitmap(uint32_t *, uint32_t);
|
||||
uint32_t lim_send_probe_rsp_template_to_hal(tpAniSirGlobal,
|
||||
uint32_t lim_send_probe_rsp_template_to_hal(struct mac_context *,
|
||||
struct pe_session *,
|
||||
uint32_t *);
|
||||
|
||||
int sch_gen_timing_advert_frame(tpAniSirGlobal mac, tSirMacAddr self_addr,
|
||||
int sch_gen_timing_advert_frame(struct mac_context *mac, tSirMacAddr self_addr,
|
||||
uint8_t **buf, uint32_t *timestamp_offset,
|
||||
uint32_t *time_value_offset);
|
||||
|
||||
@@ -133,7 +133,7 @@ int sch_gen_timing_advert_frame(tpAniSirGlobal mac, tSirMacAddr self_addr,
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void sch_beacon_process_for_ap(tpAniSirGlobal mac_ctx,
|
||||
void sch_beacon_process_for_ap(struct mac_context *mac_ctx,
|
||||
uint8_t session_id,
|
||||
uint8_t *rx_pkt_info,
|
||||
tSchBeaconStruct *bcn);
|
||||
|
@@ -69,14 +69,14 @@
|
||||
* @return None
|
||||
*/
|
||||
|
||||
QDF_STATUS sch_post_message(tpAniSirGlobal mac, struct scheduler_msg *pMsg)
|
||||
QDF_STATUS sch_post_message(struct mac_context *mac, struct scheduler_msg *pMsg)
|
||||
{
|
||||
sch_process_message(mac, pMsg);
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS sch_send_beacon_req(tpAniSirGlobal mac, uint8_t *beaconPayload,
|
||||
QDF_STATUS sch_send_beacon_req(struct mac_context *mac, uint8_t *beaconPayload,
|
||||
uint16_t size, struct pe_session *pe_session,
|
||||
enum sir_bcn_update_reason reason)
|
||||
{
|
||||
@@ -183,7 +183,7 @@ QDF_STATUS sch_send_beacon_req(tpAniSirGlobal mac, uint8_t *beaconPayload,
|
||||
return retCode;
|
||||
}
|
||||
|
||||
static uint32_t lim_remove_p2p_ie_from_add_ie(tpAniSirGlobal mac,
|
||||
static uint32_t lim_remove_p2p_ie_from_add_ie(struct mac_context *mac,
|
||||
struct pe_session *pe_session,
|
||||
uint8_t *addIeWoP2pIe,
|
||||
uint32_t *addnIELenWoP2pIe)
|
||||
@@ -223,7 +223,7 @@ static uint32_t lim_remove_p2p_ie_from_add_ie(tpAniSirGlobal mac,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
uint32_t lim_send_probe_rsp_template_to_hal(tpAniSirGlobal mac,
|
||||
uint32_t lim_send_probe_rsp_template_to_hal(struct mac_context *mac,
|
||||
struct pe_session *pe_session,
|
||||
uint32_t *IeBitmap)
|
||||
{
|
||||
@@ -412,7 +412,7 @@ uint32_t lim_send_probe_rsp_template_to_hal(tpAniSirGlobal mac,
|
||||
*
|
||||
* Return: the length of the buffer.
|
||||
*/
|
||||
int sch_gen_timing_advert_frame(tpAniSirGlobal mac_ctx, tSirMacAddr self_addr,
|
||||
int sch_gen_timing_advert_frame(struct mac_context *mac_ctx, tSirMacAddr self_addr,
|
||||
uint8_t **buf, uint32_t *timestamp_offset, uint32_t *time_value_offset)
|
||||
{
|
||||
tDot11fTimingAdvertisementFrame frame;
|
||||
|
@@ -98,7 +98,7 @@ static QDF_STATUS sch_get_p2p_ie_offset(uint8_t *pextra_ie,
|
||||
* Return: status of operation
|
||||
*/
|
||||
static QDF_STATUS
|
||||
sch_append_addn_ie(tpAniSirGlobal mac_ctx, struct pe_session *session,
|
||||
sch_append_addn_ie(struct mac_context *mac_ctx, struct pe_session *session,
|
||||
uint8_t *frm, uint32_t max_bcn_size, uint32_t *num_bytes,
|
||||
uint8_t *addn_ie, uint16_t addn_ielen)
|
||||
{
|
||||
@@ -222,7 +222,7 @@ static void sch_get_csa_ecsa_count_offset(uint8_t *ie, uint32_t ie_len,
|
||||
*/
|
||||
|
||||
QDF_STATUS
|
||||
sch_set_fixed_beacon_fields(tpAniSirGlobal mac_ctx, struct pe_session *session)
|
||||
sch_set_fixed_beacon_fields(struct mac_context *mac_ctx, struct pe_session *session)
|
||||
{
|
||||
tpAniBeaconStruct bcn_struct = (tpAniBeaconStruct)
|
||||
session->pSchBeaconFrameBegin;
|
||||
@@ -648,7 +648,7 @@ sch_set_fixed_beacon_fields(tpAniSirGlobal mac_ctx, struct pe_session *session)
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
lim_update_probe_rsp_template_ie_bitmap_beacon1(tpAniSirGlobal mac,
|
||||
lim_update_probe_rsp_template_ie_bitmap_beacon1(struct mac_context *mac,
|
||||
tDot11fBeacon1 *beacon1,
|
||||
struct pe_session *pe_session)
|
||||
{
|
||||
@@ -694,7 +694,7 @@ lim_update_probe_rsp_template_ie_bitmap_beacon1(tpAniSirGlobal mac,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
void lim_update_probe_rsp_template_ie_bitmap_beacon2(tpAniSirGlobal mac,
|
||||
void lim_update_probe_rsp_template_ie_bitmap_beacon2(struct mac_context *mac,
|
||||
tDot11fBeacon2 *beacon2,
|
||||
uint32_t *DefProbeRspIeBitmap,
|
||||
tDot11fProbeResponse *prb_rsp)
|
||||
@@ -899,7 +899,7 @@ void set_probe_rsp_ie_bitmap(uint32_t *IeBitmap, uint32_t pos)
|
||||
*
|
||||
* return: success: QDF_STATUS_SUCCESS failure: QDF_STATUS_E_FAILURE
|
||||
*/
|
||||
static QDF_STATUS write_beacon_to_memory(tpAniSirGlobal mac, uint16_t size,
|
||||
static QDF_STATUS write_beacon_to_memory(struct mac_context *mac, uint16_t size,
|
||||
uint16_t length,
|
||||
struct pe_session *pe_session,
|
||||
enum sir_bcn_update_reason reason)
|
||||
@@ -960,7 +960,7 @@ static QDF_STATUS write_beacon_to_memory(tpAniSirGlobal mac, uint16_t size,
|
||||
* @param *timLength pointer to limLength, which needs to be returned.
|
||||
* @return None
|
||||
*/
|
||||
void sch_generate_tim(tpAniSirGlobal mac, uint8_t **pPtr, uint16_t *timLength,
|
||||
void sch_generate_tim(struct mac_context *mac, uint8_t **pPtr, uint16_t *timLength,
|
||||
uint8_t dtimPeriod)
|
||||
{
|
||||
uint8_t *ptr = *pPtr;
|
||||
@@ -996,7 +996,7 @@ void sch_generate_tim(tpAniSirGlobal mac, uint8_t **pPtr, uint16_t *timLength,
|
||||
*pPtr = ptr;
|
||||
}
|
||||
|
||||
QDF_STATUS sch_process_pre_beacon_ind(tpAniSirGlobal mac,
|
||||
QDF_STATUS sch_process_pre_beacon_ind(struct mac_context *mac,
|
||||
struct scheduler_msg *limMsg,
|
||||
enum sir_bcn_update_reason reason)
|
||||
{
|
||||
|
@@ -58,7 +58,7 @@
|
||||
#define CW_GET(cw) (((cw) == 0) ? 1 : ((1 << (cw)) - 1))
|
||||
|
||||
static void
|
||||
ap_beacon_process_5_ghz(tpAniSirGlobal mac_ctx, uint8_t *rx_pkt_info,
|
||||
ap_beacon_process_5_ghz(struct mac_context *mac_ctx, uint8_t *rx_pkt_info,
|
||||
tpSchBeaconStruct bcn_struct,
|
||||
tpUpdateBeaconParams bcn_prm, struct pe_session *session,
|
||||
uint32_t phy_mode)
|
||||
@@ -101,7 +101,7 @@ ap_beacon_process_5_ghz(tpAniSirGlobal mac_ctx, uint8_t *rx_pkt_info,
|
||||
}
|
||||
|
||||
static void
|
||||
ap_beacon_process_24_ghz(tpAniSirGlobal mac_ctx, uint8_t *rx_pkt_info,
|
||||
ap_beacon_process_24_ghz(struct mac_context *mac_ctx, uint8_t *rx_pkt_info,
|
||||
tpSchBeaconStruct bcn_struct,
|
||||
tpUpdateBeaconParams bcn_prm, struct pe_session *session,
|
||||
uint32_t phy_mode)
|
||||
@@ -227,7 +227,7 @@ ap_beacon_process_24_ghz(tpAniSirGlobal mac_ctx, uint8_t *rx_pkt_info,
|
||||
* Return: void
|
||||
*/
|
||||
static void
|
||||
ap_beacon_process(tpAniSirGlobal mac_ctx, uint8_t *rx_pkt_info,
|
||||
ap_beacon_process(struct mac_context *mac_ctx, uint8_t *rx_pkt_info,
|
||||
tpSchBeaconStruct bcn_struct,
|
||||
tpUpdateBeaconParams bcn_prm, struct pe_session *session)
|
||||
{
|
||||
@@ -280,7 +280,7 @@ ap_beacon_process(tpAniSirGlobal mac_ctx, uint8_t *rx_pkt_info,
|
||||
*
|
||||
|
||||
*/
|
||||
static void __sch_beacon_process_no_session(tpAniSirGlobal mac,
|
||||
static void __sch_beacon_process_no_session(struct mac_context *mac,
|
||||
tpSchBeaconStruct pBeacon,
|
||||
uint8_t *pRxPacketInfo)
|
||||
{
|
||||
@@ -342,7 +342,7 @@ static tSirMacHTChannelWidth get_operating_channel_width(tpDphHashNode stads)
|
||||
* Return: success of failure of operation
|
||||
*/
|
||||
static bool
|
||||
sch_bcn_process_sta(tpAniSirGlobal mac_ctx,
|
||||
sch_bcn_process_sta(struct mac_context *mac_ctx,
|
||||
tpSchBeaconStruct bcn,
|
||||
uint8_t *rx_pkt_info,
|
||||
struct pe_session *session, uint8_t *bssIdx,
|
||||
@@ -478,7 +478,7 @@ sch_bcn_process_sta(tpAniSirGlobal mac_ctx,
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
static void update_nss(tpAniSirGlobal mac_ctx, tpDphHashNode sta_ds,
|
||||
static void update_nss(struct mac_context *mac_ctx, tpDphHashNode sta_ds,
|
||||
tpSchBeaconStruct beacon, struct pe_session *session_entry,
|
||||
tpSirMacMgmtHdr mgmt_hdr)
|
||||
{
|
||||
@@ -497,7 +497,7 @@ static void update_nss(tpAniSirGlobal mac_ctx, tpDphHashNode sta_ds,
|
||||
|
||||
#ifdef WLAN_FEATURE_11AX_BSS_COLOR
|
||||
static void
|
||||
sch_bcn_update_he_ies(tpAniSirGlobal mac_ctx, tpDphHashNode sta_ds,
|
||||
sch_bcn_update_he_ies(struct mac_context *mac_ctx, tpDphHashNode sta_ds,
|
||||
struct pe_session *session, tpSchBeaconStruct bcn,
|
||||
tpSirMacMgmtHdr mac_hdr)
|
||||
{
|
||||
@@ -534,7 +534,7 @@ sch_bcn_update_he_ies(tpAniSirGlobal mac_ctx, tpDphHashNode sta_ds,
|
||||
}
|
||||
#else
|
||||
static void
|
||||
sch_bcn_update_he_ies(tpAniSirGlobal mac_ctx, tpDphHashNode sta_ds,
|
||||
sch_bcn_update_he_ies(struct mac_context *mac_ctx, tpDphHashNode sta_ds,
|
||||
struct pe_session *session, tpSchBeaconStruct bcn,
|
||||
tpSirMacMgmtHdr mac_hdr)
|
||||
{
|
||||
@@ -543,7 +543,7 @@ sch_bcn_update_he_ies(tpAniSirGlobal mac_ctx, tpDphHashNode sta_ds,
|
||||
#endif
|
||||
|
||||
static void
|
||||
sch_bcn_update_opmode_change(tpAniSirGlobal mac_ctx, tpDphHashNode sta_ds,
|
||||
sch_bcn_update_opmode_change(struct mac_context *mac_ctx, tpDphHashNode sta_ds,
|
||||
struct pe_session *session, tpSchBeaconStruct bcn,
|
||||
tpSirMacMgmtHdr mac_hdr, uint8_t cb_mode)
|
||||
{
|
||||
@@ -706,7 +706,7 @@ sch_bcn_update_opmode_change(tpAniSirGlobal mac_ctx, tpDphHashNode sta_ds,
|
||||
* Return: void
|
||||
*/
|
||||
static void
|
||||
sch_bcn_process_sta_ibss(tpAniSirGlobal mac_ctx,
|
||||
sch_bcn_process_sta_ibss(struct mac_context *mac_ctx,
|
||||
tpSchBeaconStruct bcn,
|
||||
uint8_t *rx_pkt_info,
|
||||
struct pe_session *session, uint8_t *bssIdx,
|
||||
@@ -801,7 +801,7 @@ static void get_local_power_constraint_beacon(
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
static void __sch_beacon_process_for_session(tpAniSirGlobal mac_ctx,
|
||||
static void __sch_beacon_process_for_session(struct mac_context *mac_ctx,
|
||||
tpSchBeaconStruct bcn,
|
||||
uint8_t *rx_pkt_info,
|
||||
struct pe_session *session)
|
||||
@@ -930,7 +930,7 @@ static void __sch_beacon_process_for_session(tpAniSirGlobal mac_ctx,
|
||||
}
|
||||
|
||||
#ifdef WLAN_FEATURE_11AX_BSS_COLOR
|
||||
static void ap_update_bss_color_info(tpAniSirGlobal mac_ctx,
|
||||
static void ap_update_bss_color_info(struct mac_context *mac_ctx,
|
||||
struct pe_session *session,
|
||||
uint8_t bss_color)
|
||||
{
|
||||
@@ -947,7 +947,7 @@ static void ap_update_bss_color_info(tpAniSirGlobal mac_ctx,
|
||||
qdf_get_system_timestamp();
|
||||
}
|
||||
|
||||
static uint8_t ap_get_new_bss_color(tpAniSirGlobal mac_ctx, struct pe_session *session)
|
||||
static uint8_t ap_get_new_bss_color(struct mac_context *mac_ctx, struct pe_session *session)
|
||||
{
|
||||
int i;
|
||||
uint8_t new_bss_color;
|
||||
@@ -978,7 +978,7 @@ static uint8_t ap_get_new_bss_color(tpAniSirGlobal mac_ctx, struct pe_session *s
|
||||
return new_bss_color;
|
||||
}
|
||||
|
||||
static void sch_check_bss_color_ie(tpAniSirGlobal mac_ctx,
|
||||
static void sch_check_bss_color_ie(struct mac_context *mac_ctx,
|
||||
struct pe_session *ap_session,
|
||||
tSchBeaconStruct *bcn,
|
||||
tUpdateBeaconParams *bcn_prm)
|
||||
@@ -1013,7 +1013,7 @@ static void sch_check_bss_color_ie(tpAniSirGlobal mac_ctx,
|
||||
}
|
||||
|
||||
#else
|
||||
static void sch_check_bss_color_ie(tpAniSirGlobal mac_ctx,
|
||||
static void sch_check_bss_color_ie(struct mac_context *mac_ctx,
|
||||
struct pe_session *ap_session,
|
||||
tSchBeaconStruct *bcn,
|
||||
tUpdateBeaconParams *bcn_prm)
|
||||
@@ -1021,7 +1021,7 @@ static void sch_check_bss_color_ie(tpAniSirGlobal mac_ctx,
|
||||
}
|
||||
#endif
|
||||
|
||||
void sch_beacon_process_for_ap(tpAniSirGlobal mac_ctx,
|
||||
void sch_beacon_process_for_ap(struct mac_context *mac_ctx,
|
||||
uint8_t session_id,
|
||||
uint8_t *rx_pkt_info,
|
||||
tSchBeaconStruct *bcn)
|
||||
@@ -1078,7 +1078,7 @@ void sch_beacon_process_for_ap(tpAniSirGlobal mac_ctx,
|
||||
* Return: None
|
||||
*/
|
||||
void
|
||||
sch_beacon_process(tpAniSirGlobal mac_ctx, uint8_t *rx_pkt_info,
|
||||
sch_beacon_process(struct mac_context *mac_ctx, uint8_t *rx_pkt_info,
|
||||
struct pe_session *session)
|
||||
{
|
||||
static tSchBeaconStruct bcn;
|
||||
@@ -1112,7 +1112,7 @@ sch_beacon_process(tpAniSirGlobal mac_ctx, uint8_t *rx_pkt_info,
|
||||
* @return status of operation
|
||||
*/
|
||||
QDF_STATUS
|
||||
sch_beacon_edca_process(tpAniSirGlobal mac, tSirMacEdcaParamSetIE *edca,
|
||||
sch_beacon_edca_process(struct mac_context *mac, tSirMacEdcaParamSetIE *edca,
|
||||
struct pe_session *session)
|
||||
{
|
||||
uint8_t i;
|
||||
@@ -1209,7 +1209,7 @@ sch_beacon_edca_process(tpAniSirGlobal mac, tSirMacEdcaParamSetIE *edca,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
void lim_enable_obss_detection_config(tpAniSirGlobal mac_ctx,
|
||||
void lim_enable_obss_detection_config(struct mac_context *mac_ctx,
|
||||
struct pe_session *session)
|
||||
{
|
||||
QDF_STATUS status = QDF_STATUS_SUCCESS;
|
||||
@@ -1254,7 +1254,7 @@ void lim_enable_obss_detection_config(tpAniSirGlobal mac_ctx,
|
||||
}
|
||||
}
|
||||
|
||||
QDF_STATUS lim_obss_generate_detection_config(tpAniSirGlobal mac_ctx,
|
||||
QDF_STATUS lim_obss_generate_detection_config(struct mac_context *mac_ctx,
|
||||
struct pe_session *session,
|
||||
struct obss_detection_cfg *cfg)
|
||||
{
|
||||
@@ -1401,7 +1401,7 @@ QDF_STATUS lim_obss_generate_detection_config(tpAniSirGlobal mac_ctx,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS lim_obss_send_detection_cfg(tpAniSirGlobal mac_ctx,
|
||||
QDF_STATUS lim_obss_send_detection_cfg(struct mac_context *mac_ctx,
|
||||
struct pe_session *session, bool force)
|
||||
{
|
||||
QDF_STATUS status;
|
||||
@@ -1480,7 +1480,7 @@ QDF_STATUS lim_obss_send_detection_cfg(tpAniSirGlobal mac_ctx,
|
||||
return status;
|
||||
}
|
||||
|
||||
QDF_STATUS lim_process_obss_detection_ind(tpAniSirGlobal mac_ctx,
|
||||
QDF_STATUS lim_process_obss_detection_ind(struct mac_context *mac_ctx,
|
||||
struct wmi_obss_detect_info
|
||||
*obss_detection)
|
||||
{
|
||||
|
@@ -39,10 +39,10 @@
|
||||
|
||||
/* local functions */
|
||||
static QDF_STATUS
|
||||
get_wmm_local_params(tpAniSirGlobal mac,
|
||||
get_wmm_local_params(struct mac_context *mac,
|
||||
uint32_t params[][CFG_EDCA_DATA_LEN]);
|
||||
static void
|
||||
set_sch_edca_params(tpAniSirGlobal mac,
|
||||
set_sch_edca_params(struct mac_context *mac,
|
||||
uint32_t params[][CFG_EDCA_DATA_LEN],
|
||||
struct pe_session *pe_session);
|
||||
|
||||
@@ -62,7 +62,7 @@ set_sch_edca_params(tpAniSirGlobal mac,
|
||||
* @return None
|
||||
*/
|
||||
|
||||
void sch_set_beacon_interval(tpAniSirGlobal mac, struct pe_session *pe_session)
|
||||
void sch_set_beacon_interval(struct mac_context *mac, struct pe_session *pe_session)
|
||||
{
|
||||
uint32_t bi;
|
||||
|
||||
@@ -77,7 +77,7 @@ void sch_set_beacon_interval(tpAniSirGlobal mac, struct pe_session *pe_session)
|
||||
mac->sch.schObject.gSchBeaconInterval = (uint16_t) bi;
|
||||
}
|
||||
|
||||
static void sch_edca_profile_update_all(tpAniSirGlobal pmac)
|
||||
static void sch_edca_profile_update_all(struct mac_context *pmac)
|
||||
{
|
||||
uint32_t i;
|
||||
struct pe_session *psession_entry;
|
||||
@@ -105,7 +105,7 @@ static void sch_edca_profile_update_all(tpAniSirGlobal pmac)
|
||||
* @return None
|
||||
*/
|
||||
|
||||
void sch_process_message(tpAniSirGlobal mac, struct scheduler_msg *pSchMsg)
|
||||
void sch_process_message(struct mac_context *mac, struct scheduler_msg *pSchMsg)
|
||||
{
|
||||
switch (pSchMsg->type) {
|
||||
case SIR_CFG_PARAM_UPDATE_IND:
|
||||
@@ -132,7 +132,7 @@ void sch_process_message(tpAniSirGlobal mac, struct scheduler_msg *pSchMsg)
|
||||
* sepcified in the config params are delivered in this order: BE, BK, VI, VO
|
||||
*/
|
||||
static QDF_STATUS
|
||||
sch_get_params(tpAniSirGlobal mac,
|
||||
sch_get_params(struct mac_context *mac,
|
||||
uint32_t params[][CFG_EDCA_DATA_LEN],
|
||||
uint8_t local)
|
||||
{
|
||||
@@ -235,7 +235,7 @@ sch_get_params(tpAniSirGlobal mac,
|
||||
* Return: true if wmm param updated, false if wmm param not updated
|
||||
*/
|
||||
static bool
|
||||
broadcast_wmm_of_concurrent_sta_session(tpAniSirGlobal mac_ctx,
|
||||
broadcast_wmm_of_concurrent_sta_session(struct mac_context *mac_ctx,
|
||||
struct pe_session *session)
|
||||
{
|
||||
uint8_t i, j;
|
||||
@@ -293,7 +293,7 @@ broadcast_wmm_of_concurrent_sta_session(tpAniSirGlobal mac_ctx,
|
||||
return true;
|
||||
}
|
||||
|
||||
void sch_qos_update_broadcast(tpAniSirGlobal mac, struct pe_session *pe_session)
|
||||
void sch_qos_update_broadcast(struct mac_context *mac, struct pe_session *pe_session)
|
||||
{
|
||||
uint32_t params[4][CFG_EDCA_DATA_LEN];
|
||||
uint32_t cwminidx, cwmaxidx, txopidx;
|
||||
@@ -381,7 +381,7 @@ void sch_qos_update_broadcast(tpAniSirGlobal mac, struct pe_session *pe_session)
|
||||
pe_err("Unable to set beacon fields!");
|
||||
}
|
||||
|
||||
void sch_qos_update_local(tpAniSirGlobal mac, struct pe_session *pe_session)
|
||||
void sch_qos_update_local(struct mac_context *mac, struct pe_session *pe_session)
|
||||
{
|
||||
|
||||
uint32_t params[4][CFG_EDCA_DATA_LEN];
|
||||
@@ -408,7 +408,7 @@ void sch_qos_update_local(tpAniSirGlobal mac, struct pe_session *pe_session)
|
||||
*
|
||||
* return none
|
||||
*/
|
||||
void sch_set_default_edca_params(tpAniSirGlobal mac, struct pe_session *pe_session)
|
||||
void sch_set_default_edca_params(struct mac_context *mac, struct pe_session *pe_session)
|
||||
{
|
||||
uint32_t params[4][CFG_EDCA_DATA_LEN];
|
||||
|
||||
@@ -431,7 +431,7 @@ void sch_set_default_edca_params(tpAniSirGlobal mac, struct pe_session *pe_sessi
|
||||
* Return none
|
||||
*/
|
||||
static void
|
||||
set_sch_edca_params(tpAniSirGlobal mac,
|
||||
set_sch_edca_params(struct mac_context *mac,
|
||||
uint32_t params[][CFG_EDCA_DATA_LEN],
|
||||
struct pe_session *pe_session)
|
||||
{
|
||||
@@ -491,7 +491,7 @@ set_sch_edca_params(tpAniSirGlobal mac,
|
||||
* Return none
|
||||
*/
|
||||
static QDF_STATUS
|
||||
get_wmm_local_params(tpAniSirGlobal mac_ctx,
|
||||
get_wmm_local_params(struct mac_context *mac_ctx,
|
||||
uint32_t params[][CFG_EDCA_DATA_LEN])
|
||||
{
|
||||
uint32_t i, idx;
|
||||
@@ -531,7 +531,7 @@ get_wmm_local_params(tpAniSirGlobal mac_ctx,
|
||||
*
|
||||
* Return none
|
||||
*/
|
||||
void sch_edca_profile_update(tpAniSirGlobal mac, struct pe_session *pe_session)
|
||||
void sch_edca_profile_update(struct mac_context *mac, struct pe_session *pe_session)
|
||||
{
|
||||
if (LIM_IS_AP_ROLE(pe_session) ||
|
||||
LIM_IS_IBSS_ROLE(pe_session)) {
|
||||
|
Fai riferimento in un nuovo problema
Block a user