|
@@ -495,6 +495,36 @@ struct wpa_driver_scan_params {
|
|
|
*/
|
|
|
unsigned int duration_mandatory:1;
|
|
|
|
|
|
+ /**
|
|
|
+ * relative_rssi_set - Whether relative RSSI parameters are set
|
|
|
+ */
|
|
|
+ unsigned int relative_rssi_set:1;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * relative_rssi - Relative RSSI for reporting better BSSs
|
|
|
+ *
|
|
|
+ * Amount of RSSI by which a BSS should be better than the current
|
|
|
+ * connected BSS to report the new BSS to user space.
|
|
|
+ */
|
|
|
+ s8 relative_rssi;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * relative_adjust_band - Band to which RSSI should be adjusted
|
|
|
+ *
|
|
|
+ * The relative_adjust_rssi should be added to the band specified
|
|
|
+ * by relative_adjust_band.
|
|
|
+ */
|
|
|
+ enum set_band relative_adjust_band;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * relative_adjust_rssi - RSSI to be added to relative_adjust_band
|
|
|
+ *
|
|
|
+ * An amount of relative_band_rssi should be added to the BSSs that
|
|
|
+ * belong to the band specified by relative_adjust_band while comparing
|
|
|
+ * with other bands for BSS reporting.
|
|
|
+ */
|
|
|
+ s8 relative_adjust_rssi;
|
|
|
+
|
|
|
/*
|
|
|
* NOTE: Whenever adding new parameters here, please make sure
|
|
|
* wpa_scan_clone_params() and wpa_scan_free_params() get updated with
|
|
@@ -1397,6 +1427,8 @@ struct wpa_driver_capa {
|
|
|
#define WPA_DRIVER_FLAGS_MGMT_TX_RANDOM_TA 0x0000400000000000ULL
|
|
|
/** Driver supports mgmt_tx with random TX addr in connected state */
|
|
|
#define WPA_DRIVER_FLAGS_MGMT_TX_RANDOM_TA_CONNECTED 0x0000800000000000ULL
|
|
|
+/** Driver supports better BSS reporting with sched_scan in connected mode */
|
|
|
+#define WPA_DRIVER_FLAGS_SCHED_SCAN_RELATIVE_RSSI 0x0001000000000000ULL
|
|
|
u64 flags;
|
|
|
|
|
|
#define FULL_AP_CLIENT_STATE_SUPP(drv_flags) \
|