]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/net/wireless/ath/wcn36xx/hal.h
wcn36xx: Replace with latest development version
[karo-tx-linux.git] / drivers / net / wireless / ath / wcn36xx / hal.h
index dbf1769a969920875e198436214eff8906c0a59d..4f87ef1e1eb866808ecc0b071b28d7bd4bbaeff1 100644 (file)
@@ -51,7 +51,7 @@
 #define WCN36XX_HAL_STA_INVALID_IDX 0xFF
 #define WCN36XX_HAL_BSS_INVALID_IDX 0xFF
 
-/* Default Beacon template size. */
+/* Default Beacon template size */
 #define BEACON_TEMPLATE_SIZE 0x180
 
 /* Minimum PVM size that the FW expects. See comment in smd.c for details. */
@@ -350,8 +350,6 @@ enum wcn36xx_hal_host_msg_type {
 
        WCN36XX_HAL_AVOID_FREQ_RANGE_IND = 233,
 
-       WCN36XX_HAL_PRINT_REG_INFO_IND = 259,
-
        WCN36XX_HAL_MSG_MAX = WCN36XX_HAL_MSG_TYPE_MAX_ENUM_SIZE
 };
 
@@ -2889,11 +2887,13 @@ struct update_beacon_rsp_msg {
 struct wcn36xx_hal_send_beacon_req_msg {
        struct wcn36xx_hal_msg_header header;
 
-       /* length of the template + sizeof(beacon_length) */
-       u32 template_length;
+       /* length of the template + 6. Only qcom knows why */
+       u32 beacon_length6;
 
-       /* Beacon data. */
+       /* length of the template. */
        u32 beacon_length;
+
+       /* Beacon data. */
        u8 beacon[BEACON_TEMPLATE_SIZE - sizeof(u32)];
 
        u8 bssid[ETH_ALEN];
@@ -4123,7 +4123,7 @@ struct wcn36xx_hal_update_scan_params_req {
 
 /* Update scan params - sent from host to PNO to be used during PNO
  * scanningx */
-struct update_scan_params_req_ex {
+struct wcn36xx_hal_update_scan_params_req_ex {
 
        struct wcn36xx_hal_msg_header header;
 
@@ -4151,7 +4151,7 @@ struct update_scan_params_req_ex {
 
        /* Cb State */
        enum phy_chan_bond_state state;
-};
+} __packed;
 
 /* Update scan params - sent from host to PNO to be used during PNO
  * scanningx */