hif/usb_api: remove dup code - usb_reg_out_patch

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
hif/usb_api: remove dup code - usb_reg_in_patch

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
hif/usb_api: remove dup code - ep6 fix

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
hif/usb_api: remove dup code - bGet_descriptor_patch

In this patch i also remove eeprom check. It was never
executed any way.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
hif/usb_api: remove dup code - _fw_usbfifo_recv_command

and _fw_usbfifo_init

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
hif/usb_api: unify platform specific patch file names

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
usb_api_k2_patch.c: use same style like usb_api_magpie_patch.c

Just other comment styles and tabs instead of spaces.
Some commented A_PRINFs was removed.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
add new ZM_SOC_USB_DMA_RESET_OFFSET register

add and use ZM_SOC_USB_DMA_RESET_OFFSET
instead if magic number 0x118

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
use only one usb_defs.h

usb_defs.h for k2 and magpie are identical. So it
is better to use one.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
wmi: add new command WMI_REG_RMW_CMDID

rmw is a compund of reg_read and reg_write. By doint it on FW side
we reduce usb traffic.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
split ath_hal_reg_write_tgt and reuse it in ath_hal_reg_rmw_tgt

make sure we do not have redundand code in ath_hal_reg_rmw_tgt
and ath_hal_reg_write_tgt.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
split ath_hal_reg_read_tgt and reuse it in  ath_hal_reg_rmw_tgt

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Note in README that cmake must be installed
init.c: do cold reboot on exception

Currently, if we get exception, FW will print exception info, send crash
pattern to the host and reboot. We can reduce deadtime by doing cold reboot
instead of simple reboot. The difference is, that usb interface will be
reseted and usb subsystem will reinit driver. In this case we even do not need
to update host driver.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Download through HTTPS for authenticity and privacy (fixes #48)
Merge branch 'speed' into next
Merge branch 'hif' into next
Merge branch 'installCmake' of https://github.com/mattflaschen/open-ath9k-htc-firmware into testing
Merge branch 'master' of https://github.com/sdfsdfsdfdsdf/open-ath9k-htc-firmware into testing
Merge pull request #50 from olerem/testing

testing: collection of different changes