Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 19ce45de authored by Ajit Vaishya's avatar Ajit Vaishya
Browse files

wlan: Update blackbssid SME command to WDA

This commits update Max BlackList Bssid sme
command to WDA layer using using WDA commnand
WDA_BLACKLIST_REQ.

Change-Id: I7b26818591979465d952d174e8080f34f3f57742
CRs-Fixed: 2674231
parent 1d5e41a3
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -6845,6 +6845,10 @@ static int hdd_set_blacklist_bssid(tHalHandle hHal,
    roam_params->num_bssid_avoid_list = i;
    hddLog(LOG1, FL("session  id %d "), session_id);
    if (sme_UpdateBlacklist(hHal, session_id, roam_params) !=
       eHAL_STATUS_SUCCESS) {
       goto fail;
    }
    return 0;
fail:
+1 −0
Original line number Diff line number Diff line
@@ -829,6 +829,7 @@ struct sir_mgmt_msg {
#define SIR_HAL_VOWIFI_MODE                (SIR_HAL_ITC_MSG_TYPES_BEGIN + 306)
#define SIR_HAL_QPOWER                     (SIR_HAL_ITC_MSG_TYPES_BEGIN + 307)

#define SIR_HAL_BLACKLIST_REQ              (SIR_HAL_ITC_MSG_TYPES_BEGIN + 308)

#define SIR_HAL_MSG_TYPES_END              (SIR_HAL_MSG_TYPES_BEGIN + 0x1FF)

+1 −0
Original line number Diff line number Diff line
@@ -209,6 +209,7 @@ typedef struct tagSmeCmd
        tpNanRequest pNanReq;
        struct csr_set_tx_max_pwr_per_band set_tx_max_pwr_per_band;
        tpSirUpdateChanList chan_list;
        tpRoamParams RoamParams;
    }u;
}tSmeCmd;

+1 −0
Original line number Diff line number Diff line
@@ -108,6 +108,7 @@ typedef enum eSmeCommandType
#endif
    eSmeCommandRemainOnChannel,
    eSmeCommandNoAUpdate,
    eSmeCommandBlackList,
} eSmeCommandType;


+10 −0
Original line number Diff line number Diff line
@@ -4154,4 +4154,14 @@ struct roam_ext_params {
    v_MACADDR_t bssid_avoid_list[MAX_BSSID_AVOID_LIST];
};

/**
 * sme_UpdateBlacklist() - Send blacklist bssid received from user space
 * @hal: The handle returned by mac_open
 * @session_id: session id
 * @roam_ext_params: list of blacklist Bssid
 *
 * Return: HAL_STATUS
 */
eHalStatus sme_UpdateBlacklist(tHalHandle hHal, uint8_t session_id,
                               struct roam_ext_params *roam_params);
#endif //#if !defined( __SME_API_H )
Loading