]> git.ipfire.org Git - thirdparty/hostap.git/blobdiff - src/drivers/driver.h
QCA vendor command support to set band to driver
[thirdparty/hostap.git] / src / drivers / driver.h
index 7c8bca2e5ef0dde8278a78b1db980f87a4695d03..6e39aa3e0b1aff5dab5955e195b2749c7488a5cd 100644 (file)
@@ -3387,6 +3387,14 @@ struct wpa_driver_ops {
         * indicates support for such offloading (WPA_DRIVER_FLAGS_ACS_OFFLOAD).
         */
        int (*do_acs)(void *priv, struct drv_acs_params *params);
+
+       /**
+        * set_band - Notify driver of band selection
+        * @priv: Private driver interface data
+        * @band: The selected band(s)
+        * Returns 0 on success, -1 on failure
+        */
+       int (*set_band)(void *priv, enum set_band band);
 };