Remove wcn->iftype variable

This member is known all the time when we need it from the vif struct.
No need in keeping it again as a global.

Signed-off-by: Olof Johansson <dev@skyshaper.net>
Use vif address instead of wcn for sta add

This will use the vif address allocated at init.

Signed-off-by: Olof Johansson <dev@skyshaper.net>
Remove int ch variable from wcn struct

This commit removes the ch variable from the wcn struct and introduce a
macro for reading the hw_value from the ieee80211_hw in the wcn struct.

Signed-off-by: Olof Johansson <dev@skyshaper.net>
Remove band variable from wcn struct

Removes the band variable and replace it with a macro for
reading it from wcn->hw instead.

Signed-off-by: Olof Johansson <dev@skyshaper.net>
Remove center_freq variable from wcn struct

Removes the center_freq variable from the wcn struct and replaces it
with a macro.

Signed-off-by: Olof Johansson <dev@skyshaper.net>
Remove channel parameter from smd_[start|end]_scan

The channel parameter was never necessary and removing it inline with
some cleanups.
Merge pull request #73 from Coi-l/separate

Clean up wcn struct by removing or moving variables