wcn36xx: Clean up wcn36xx_smd_send_beacon

Needed for coming improvements. No functional changes.

Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com>
[bjorn: restored BEACON_TEMPLATE_SIZE define to 0x180]
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
此提交包含在:
Pontus Fuchs
2016-04-18 22:00:39 -07:00
提交者 Kalle Valo
父節點 0f9edcdd88
當前提交 25d217d6e0
共有 2 個檔案被更改,包括 9 行新增8 行删除

查看文件

@@ -2884,11 +2884,14 @@ struct update_beacon_rsp_msg {
struct wcn36xx_hal_send_beacon_req_msg {
struct wcn36xx_hal_msg_header header;
/* length of the template + 6. Only qcom knows why */
u32 beacon_length6;
/* length of the template. */
u32 beacon_length;
/* Beacon data. */
u8 beacon[BEACON_TEMPLATE_SIZE];
u8 beacon[BEACON_TEMPLATE_SIZE - sizeof(u32)];
u8 bssid[ETH_ALEN];