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

Commit 94d344c3 authored by spuligil's avatar spuligil Committed by snandini
Browse files

fw-api: CL 11900789 - update fw common interface files

Change-Id: I52dfdfc536bd4671a7a8ff2f24da7a75a51a34e1
WMI: use MSbs in start_scan cmds channel_list to hold flags
CRs-Fixed: 2262693
parent f09739cc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -482,6 +482,7 @@ typedef enum {
    WMI_SERVICE_FSE_CMEM_ALLOC_SUPPORT = 262, /* Indicates that FW supports non-secure CMEM allocation for FSE table */
    WMI_SERVICE_PASSIVE_SCAN_START_TIME_ENHANCE = 263, /* Indicates FW support to not skip beacon if passive scan dwell time + channel switch delay is lesser than beacon interval */
    WMI_SERVICE_QOS_NULL_FRAME_TX_OVER_WMI = 264, /* Indicates that FW supports tx of QoS null frame downloaded through WMI interface */
    WMI_SERVICE_SCAN_CONFIG_PER_CHANNEL = 265, /* Indicates that FW supports per channel configuration support in the scan start command */


    WMI_MAX_EXT2_SERVICE
+26 −0
Original line number Diff line number Diff line
@@ -4316,6 +4316,14 @@ typedef struct {
/**
 * TLV (tag length value) parameters follow the scan_cmd
 * structure. The TLV's are:
 *     channel_list:
 *         If FW supports WMI_SERVICE_SCAN_CONFIG_PER_CHANNEL,
 *             then channel_list may fill the upper 12 bits with channel flags,
 *             while using only the lower 20 bits for channel frequency.
 *             Check WMI_SCAN_CHANNEL_FLAG macros for the channel flags
 *         If FW doesn't support WMI_SERVICE_SCAN_CONFIG_PER_CHANNEL,
 *             then channel_list only holds the frequency value
 *         Use WMI_SCAN_CHANNEL_FREQ_MASK & WMI_SCAN_CHANNEL_FLAGS_MASK
 *     A_UINT32 channel_list[num_chan]; // in MHz
 *     wmi_ssid ssid_list[num_ssids];
 *     wmi_mac_addr bssid_list[num_bssid];
@@ -4490,6 +4498,24 @@ typedef enum {
/* Combine short SSID with legacy bssid list */
#define WMI_SCAN_HINT_FLAG_COMBINE_BSSID_LIST   0x00000004
#define WMI_SCAN_CHANNEL_FREQ_MASK  0x000FFFFF
#define WMI_SCAN_CHANNEL_FLAGS_MASK 0xFFF00000
/**
 * Per channel configuration flags
 */
/**
 * WMI_SCAN_CHANNEL_FLAG_SCAN_ONLY_IF_RNR_FOUND:
 *     If this flag is set, then scan only if the corresponding channel
 *     is found via RNR IE during 2g/5g scan.
 *     If this flag is not set, then FW always scans the channel
 *     irrespective of RNR and also FW ignores
 *     WMI_SCAN_FLAG_EXT_6GHZ_SKIP_NON_RNR_CH flag
 */
#define WMI_SCAN_CHANNEL_FLAG_SCAN_ONLY_IF_RNR_FOUND 0x001
typedef struct {
    A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_stop_scan_cmd_fixed_param */
    /** requestor requesting cancel  */
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@
#define __WMI_VER_MINOR_    0
/** WMI revision number has to be incremented when there is a
 *  change that may or may not break compatibility. */
#define __WMI_REVISION_ 909
#define __WMI_REVISION_ 910

/** The Version Namespace should not be normally changed. Only
 *  host and firmware of the same WMI namespace will work