Repository navigation
xiongmai: the Wi-Fi driver for each V200-series board #2712
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
b186fa4
ssv6020-openipc: the iComm SSV6020 SDIO Wi-Fi, for the XM533's SSV6158M
dimerr 970e0fa
atbm606x-openipc: AltoBeam's Wi-Fi 6 USB driver, for the XM535D2's AT…
dimerr eac5a31
atbm603x-comb-openipc: the AltoBeam USB Wi-Fi of the XM530V200, XM535…
dimerr eaa7e2f
ssv6020-openipc, atbm606x-openipc: pin the drivers with their memory-…
dimerr 27b74eb
xiongmai: wireless profiles that bring up each V200-series board's Wi-Fi
dimerr 3703c6a
atbm603x-comb-openipc: bump to the reviewed driver
dimerr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| config BR2_PACKAGE_ATBM603X_COMB_OPENIPC | ||
| bool "atbm603x-comb-openipc" | ||
| depends on BR2_LINUX_KERNEL | ||
| help | ||
| AltoBeam USB Wi-Fi driver for the ATBM6012B-X/Y and 6032-X | ||
| (AsmLite) and the ATBM603x (Ares-B), firmware built in; | ||
| binds 007a:888b and 007a:8888. Needs the kernel's cfg80211. |
23 changes: 23 additions & 0 deletions
23
general/package/atbm603x-comb-openipc/atbm603x-comb-openipc.mk
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| ################################################################################ | ||
| # | ||
| # atbm603x-comb-openipc | ||
| # | ||
| ################################################################################ | ||
|
|
||
| # OpenIPC/atbm_60xx's atbm603x_comb/ directory: AltoBeam's apollo driver | ||
| # (DRIVER_VER 2874) with the AsmLite and Ares-B firmware, as Khadas ships it. | ||
| ATBM603X_COMB_OPENIPC_SITE = $(call github,openipc,atbm_60xx,$(ATBM603X_COMB_OPENIPC_VERSION)) | ||
| ATBM603X_COMB_OPENIPC_VERSION = 543b02dc8871a1bc4df90cd56e07305b95c3ec9c | ||
|
|
||
| ATBM603X_COMB_OPENIPC_LICENSE = GPL-2.0 | ||
|
|
||
| # The directory carries its own .config (USB, firmware built in, module | ||
| # atbm603x_comb_wifi_usb). ATBM_BUILD_IN_KERNEL=n makes its Makefiles | ||
| # read it from WIFI_PROJ_DIR. | ||
| ATBM603X_COMB_OPENIPC_MODULE_SUBDIRS = atbm603x_comb | ||
|
qodo-free-for-open-source-projects[bot] marked this conversation as resolved.
Resolved
|
||
| ATBM603X_COMB_OPENIPC_MODULE_MAKE_OPTS = \ | ||
| ATBM_BUILD_IN_KERNEL=n \ | ||
| WIFI_PROJ_DIR=$(@D)/atbm603x_comb | ||
|
|
||
| $(eval $(kernel-module)) | ||
| $(eval $(generic-package)) | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| config BR2_PACKAGE_ATBM606X_OPENIPC | ||
| bool "atbm606x-openipc" | ||
| depends on BR2_LINUX_KERNEL | ||
| help | ||
| AltoBeam Wi-Fi 6 USB driver for the ATBM6062, ATBM6062-C, | ||
| ATBM6162 and ATBM6132-C (Cronus, Oceanus, Cronus Lite), firmware | ||
| built in. It brings its own cfg80211 and mac80211, so the kernel's | ||
| CONFIG_CFG80211 and CONFIG_MAC80211 must be off. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| ################################################################################ | ||
| # | ||
| # atbm606x-openipc | ||
| # | ||
| ################################################################################ | ||
|
|
||
| # OpenIPC/atbm_60xx's atbm606x/ directory: AltoBeam's Wi-Fi 6 driver as | ||
| # Ingenic's SDK ships it (DRIVER_VER 4327). | ||
| ATBM606X_OPENIPC_SITE = $(call github,openipc,atbm_60xx,$(ATBM606X_OPENIPC_VERSION)) | ||
| ATBM606X_OPENIPC_VERSION = 5379d2a495cc572e927e4ba2fb3f25519b17ab1e | ||
|
|
||
| ATBM606X_OPENIPC_LICENSE = GPL-2.0 | ||
|
|
||
| # The tree has no .config: its settings are passed instead, as for | ||
| # atbm60xx. ATBM_BUILD_IN_KERNEL=n is what makes its top Makefile build | ||
| # the bundled cfg80211 (wireless/) beside the driver (hal_apollo/). | ||
| ATBM606X_OPENIPC_MODULE_SUBDIRS = atbm606x | ||
| ATBM606X_OPENIPC_MODULE_MAKE_OPTS = \ | ||
| ATBM_BUILD_IN_KERNEL=n \ | ||
| WIFI_PROJ_DIR=$(@D)/atbm606x \ | ||
| CONFIG_ATBM_MENUCONFIG_WIFI6=y \ | ||
| CONFIG_ATBM_WIRELESS_WIFI6=y \ | ||
| CONFIG_ATBM_USB_BUS_WIFI6=y \ | ||
| CONFIG_ATBM_USE_FIRMWARE_H_WIFI6=y \ | ||
| CONFIG_COMPAT_COMBO_HFW=y \ | ||
| CONFIG_COMPAT_6062X=y \ | ||
| CONFIG_COMPAT_6162X=y \ | ||
| CONFIG_COMPAT_6062_CX=y \ | ||
| CONFIG_COMPAT_6132_C=y \ | ||
| CONFIG_ATBM_SUPPORT_BAN_5G_24G_WIFI6=y \ | ||
| CONFIG_ATBM_FUNC_NOTXCONFIRM_WIFI6=y \ | ||
| CONFIG_ATBM_FUNC_MONITOR_WIFI6=y \ | ||
| CONFIG_ATBM_USB_INTR_WIFI6=y \ | ||
| CONFIG_ATBM_FUNC_DEV_CTRL_API_WIFI6=y \ | ||
| CONFIG_ATBM_FUNC_MODULE_FS_WIFI6=y \ | ||
| CONFIG_ATBM_FUNC_PRIVE_IE_WIFI6=y \ | ||
| CONFIG_ATBM_FUNC_SAE_AUTHEN_WIFI6=y \ | ||
| CONFIG_ATBM_FUNC_DRIVER_SETUP_AMPDU_WIFI6=y \ | ||
| CONFIG_ATBM_DEFAULT_COUNTRY_CODE_WIFI6=00 \ | ||
| CONFIG_ATBM_APOLLO_SUPPORT_SGI_WIFI6=y \ | ||
| CONFIG_ATBM_WIFIIF1_NAME_WIFI6=wlan%d \ | ||
| CONFIG_NEED_P2P0_INTERFACE_WIFI6=y \ | ||
| CONFIG_ATBM_WIFIIF2_NAME_WIFI6=p2p%d \ | ||
| CONFIG_ATBM_MODULE_PM_STAYAWK_WIFI6=pm_stayawake \ | ||
| CONFIG_ATBM_MODULE_DRIVER_NAME_WIFI6=atbm_wlan \ | ||
| CONFIG_ATBM_PLATFORM_DEVICE_NAME_WIFI6=atbm_dev_wifi \ | ||
| CONFIG_ATBM_MODULE_NAME_WIFI6=atbm606x_wifi_usb \ | ||
|
dimerr marked this conversation as resolved.
Resolved
|
||
| CONFIG_CPTCFG_CFG80211=y \ | ||
| CONFIG_CPTCFG_CFG80211_WEXT=y \ | ||
| CONFIG_CPTCFG_CFG80211_CRDA_SUPPORT=y \ | ||
| CONFIG_CPTCFG_CFG80211_COUNTRY_CODE=y | ||
|
|
||
| # Its mac80211 code reaches the WEP/TKIP software crypto unconditionally | ||
| # on kernels up to 5.4; this option is what gives it the fields it uses. | ||
| ATBM606X_OPENIPC_MODULE_MAKE_OPTS += CONFIG_ATBM_FUNC_SW_ENC_WIFI6=y | ||
|
|
||
| $(eval $(kernel-module)) | ||
| $(eval $(generic-package)) | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| config BR2_PACKAGE_SSV6020_OPENIPC | ||
| bool "ssv6020-openipc" | ||
| depends on BR2_LINUX_KERNEL | ||
| help | ||
| iComm SSV6020 (Turismo E) SDIO wireless driver, sdio:v5653d2060: | ||
| the SSV6020B/C, sold as the SSV6158M on Xiongmai XM533 boards. | ||
| Loads ssv6x5x-sw.bin from /lib/firmware. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| ################################################################################ | ||
| # | ||
| # ssv6020-openipc | ||
| # | ||
| ################################################################################ | ||
|
|
||
| # OpenIPC/ssv6x5x's ssv6020/ directory: iComm's L.SMAC trunk r170 with the | ||
| # SSV6020 HAL, as Allwinner's BSP ships it for the SSV6158, built as an | ||
| # external module on 3.10 kernels. | ||
| SSV6020_OPENIPC_SITE = $(call github,openipc,ssv6x5x,$(SSV6020_OPENIPC_VERSION)) | ||
| SSV6020_OPENIPC_VERSION = 1d5db4649d12cdfddc7c8ecccd039e528afca89f | ||
|
|
||
| SSV6020_OPENIPC_LICENSE = GPL-2.0 | ||
|
|
||
| SSV6020_OPENIPC_MODULE_SUBDIRS = ssv6020 | ||
| SSV6020_OPENIPC_MODULE_MAKE_OPTS = CONFIG_SSV6X5X=m | ||
|
|
||
| define SSV6020_OPENIPC_INSTALL_FIRMWARE | ||
| $(INSTALL) -D -m 644 $(@D)/ssv6020/image/ssv6x5x-sw.bin $(TARGET_DIR)/lib/firmware/ssv6x5x-sw.bin | ||
| $(INSTALL) -D -m 644 $(@D)/ssv6020/ssv6x5x-wifi.cfg $(TARGET_DIR)/etc/ssv6x5x-wifi.cfg | ||
| endef | ||
| SSV6020_OPENIPC_POST_INSTALL_TARGET_HOOKS += SSV6020_OPENIPC_INSTALL_FIRMWARE | ||
|
|
||
| $(eval $(kernel-module)) | ||
| $(eval $(generic-package)) | ||
|
dimerr marked this conversation as resolved.
Resolved
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.