Remove conf_tx and get_tsf mac80211 ops

They are not compatible with the mako kernel, and currently unused, so remove them for now.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
main: check if smd open failed

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
main: add wcnss_wlan_get_device() error handling

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
main: add error handline for ioremap and get wlan memory map

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
main: unregister mac80211 properly

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Add few fixmes

Found while reviewing code.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
smd: don't return jiffies left from wcn36xx_smd_open_chan()

Otherwise wcn36xx_add_interface() interpret the jiffies as an error value.

Also cleanup the function as well.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
smd: close smd channel when module is removed

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Rename wcn36xx_debug() to wcn36xx_dbg()

Just to follow the same style as in ath6kl.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Rename dynamic_hex_dump() to wcn36xx_dbg_dump()

Just to follow the style in ath6kl.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
main: move hardware initialisation to start() and stop()

This is where hardware initialisation should happen. They are called during interface up and down.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>