Add WCN36XX_DBG_BEACON

This is to make it easy to filter out beacon messages from the log file as they
easily spam the log and hide relevant information.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
main: remove power save related mac80211 capabilities

We don't support these yet.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
smd: cleanup wcn36xx_smd_config_sta()

Just to make it easier to read and modify. Follow the order from struct
wcn36xx_hal_config_sta_params and set unset fields to zero. No functional
changes.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
main: use smd join command only in managed mode

Otherwise firmware won't enable beaconing in Ad-Hoc mode.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
hal: improve bss_config() debug messages

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
txrx: improve debug messages

Knowing sequence number makes it easier to match with sniffer logs.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
hal: improve config_sta() debug messages

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
smd: disable all capabilities we don't currently support

Better not to tell firmware to enable anything until we
properly implement and test it.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Use const with mac addresses

We shouldn't use ugly casts.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Fix Ad-Hoc mode

Now I managed to create an Ad-Hoc network, join with iwlwifi and
ping the other node. It's not very reliable yet, though.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Merge pull request #34 from kvalo/wcn36xx-adhoc-2

Wcn36xx adhoc 2