make a local copy of includes needed by magpie

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
CMakeLists.txt: do not use include from build

we will need it to avoid confusions

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
move sboot to the root directory

we do not need it for build any more. But we may need it for research.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
remove some identical usb related headers

k2 and magpie have lots of identical header.
remove some of them.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Fix Array Out of Bounds in rcSibUpdate_ht()

In rcSibUpdate_ht(), we clear
validPhyRateIndex[WLAN_RC_PHY_MAX][MAX_TX_RATE_PHY]
by a for loop.

But, validPhyRateIndex was defined with
validPhyRateIndex[WLAN_RC_PHY_MAX][MAX_TX_RATE_TBL],
and MAX_TX_RATE_TBL is always greater than MAX_TX_RATE_PHY,
caused the out of bounds array access.

This commit corrects MAX_TX_RATE_PHY to MAX_TX_RATE_TBL,
and remove MAX_TX_RATE_PHY from ratectrl.h because it is
no longer be used.

Signed-off-by: Tom Li <biergaizi@member.fsf.org>
Merge pull request #52 from olerem/move_build_2

Move build
Merge pull request #55 from biergaizi/master

Fix Array Out of Bounds in rcSibUpdate_ht()