Jump to content

AIC8800 wifi sdio module not working with kernel 6.12+


Go to solution Solved by amazingfate,

Recommended Posts

Posted (edited)

Radxa's github page indicates that the aic8800 wifi modules were updated a while ago to facilitate use with kernels 6.12 and 6.13.

 

I don't see that the aic8800-sdio-dkms_3.0+ module works on the Rock 3c, in spite of the latest update. See my dkms build log below. The net result is no wifi on the Rock 3c with current Armbian kernels.

 

@amazingfate - I noticed that you worked on these modules in the past, would you be able to assist?

 

DKMS make.log for aic8800-sdio-3.0+git20240327.3561b08f-3 for kernel 6.12.17-current-rockchip64 (aarch64)
Fri  7 Mar 09:54:35 GMT 2025
make: Entering directory '/usr/src/linux-headers-6.12.17-current-rockchip64'
make[2]: warning: -j4 forced in makefile: resetting jobserver mode.
  CC [M]  /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_btlpm/aic_bluetooth_main.o
make[3]: warning: -j4 forced in makefile: resetting jobserver mode.
  CC [M]  /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_btlpm/rfkill.o
  CC [M]  /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_bsp/aic8800dc_compat.o
  CC [M]  /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_msg_tx.o
  CC [M]  /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_msg_rx.o
  CC [M]  /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_utils.o
  CC [M]  /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_cmds.o
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_btlpm/rfkill.c:45:5: warning: no previous prototype for ‘rfkill_bluetooth_init’ [-Wmissing-prototypes]
   45 | int rfkill_bluetooth_init(struct platform_device *pdev)
      |     ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_btlpm/rfkill.c:73:5: warning: no previous prototype for ‘rfkill_bluetooth_remove’ [-Wmissing-prototypes]
   73 | int rfkill_bluetooth_remove(struct platform_device *dev)
      |     ^~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_bsp/aic8800d80_compat.o
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_bsp/aic8800dc_compat.c:1697:5: warning: no previous prototype for ‘set_bbpll_config’ [-Wmissing-prototypes]
 1697 | int set_bbpll_config(struct aic_sdio_dev *rwnx_hw){
      |     ^~~~~~~~~~~~~~~~
  LD [M]  /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_btlpm/aic8800_btlpm.o
  CC [M]  /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_bsp/aic_bsp_main.o
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_utils.c:23:5: warning: no previous prototype for ‘rwnx_init_aic’ [-Wmissing-prototypes]
   23 | int rwnx_init_aic(struct rwnx_hw *rwnx_hw)
      |     ^~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_msg_tx.c:164:18: warning: no previous prototype for ‘rwnx_cmd_malloc’ [-Wmissing-prototypes]
  164 | struct rwnx_cmd *rwnx_cmd_malloc(void){
      |                  ^~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_msg_tx.c:193:6: warning: no previous prototype for ‘rwnx_cmd_free’ [-Wmissing-prototypes]
  193 | void rwnx_cmd_free(struct rwnx_cmd *cmd){
      |      ^~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_msg_tx.c:203:5: warning: no previous prototype for ‘rwnx_init_cmd_array’ [-Wmissing-prototypes]
  203 | int rwnx_init_cmd_array(void){
      |     ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_msg_tx.c:218:6: warning: no previous prototype for ‘rwnx_free_cmd_array’ [-Wmissing-prototypes]
  218 | void rwnx_free_cmd_array(void){
      |      ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_cmds.c:293:6: warning: no previous prototype for ‘cmd_mgr_task_process’ [-Wmissing-prototypes]
  293 | void cmd_mgr_task_process(struct work_struct *work)
      |      ^~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_irqs.o
  CC [M]  /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_bsp/aic_bsp_driver.o
  CC [M]  /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_cfgfile.o
  CC [M]  /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_bsp/aicsdio.o
  CC [M]  /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_strs.o
  CC [M]  /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_rx.o
  CC [M]  /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_bsp/aicsdio_txrxif.o
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_irqs.c:21:13: warning: no previous prototype for ‘rwnx_irq_hdlr’ [-Wmissing-prototypes]
   21 | irqreturn_t rwnx_irq_hdlr(int irq, void *dev_id)
      |             ^~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_irqs.c:34:6: warning: no previous prototype for ‘rwnx_task’ [-Wmissing-prototypes]
   34 | void rwnx_task(unsigned long data)
      |      ^~~~~~~~~
  CC [M]  /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_tx.o
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_bsp/aic_bsp_driver.c:1283:5: warning: no previous prototype for ‘aicbt_patch_table_free’ [-Wmissing-prototypes]
 1283 | int aicbt_patch_table_free(struct aicbt_patch_table **head)
      |     ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_bsp/aic_bsp_driver.c:1297:27: warning: no previous prototype for ‘aicbt_patch_table_alloc’ [-Wmissing-prototypes]
 1297 | struct aicbt_patch_table *aicbt_patch_table_alloc(const char *filename)
      |                           ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_bsp/aic_bsp_driver.c:1361:5: warning: no previous prototype for ‘aicbt_patch_info_unpack’ [-Wmissing-prototypes]
 1361 | int aicbt_patch_info_unpack(struct aicbt_patch_info_t *patch_info, struct aicbt_patch_table *head_t)
      |     ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_bsp/aic_bsp_driver.c:1371:5: warning: no previous prototype for ‘aicbt_patch_trap_data_load’ [-Wmissing-prototypes]
 1371 | int aicbt_patch_trap_data_load(struct aic_sdio_dev *sdiodev, struct aicbt_patch_table *head)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_bsp/aic_bsp_driver.c:1469:5: warning: no previous prototype for ‘aicbt_patch_table_load’ [-Wmissing-prototypes]
 1469 | int aicbt_patch_table_load(struct aic_sdio_dev *sdiodev, struct aicbt_patch_table *head)
      |     ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_bsp/aic_bsp_driver.c:1520:5: warning: no previous prototype for ‘aicbt_init’ [-Wmissing-prototypes]
 1520 | int aicbt_init(struct aic_sdio_dev *sdiodev)
      |     ^~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_bsp/aic_bsp_driver.c:1726:5: warning: no previous prototype for ‘aicwifi_init’ [-Wmissing-prototypes]
 1726 | int aicwifi_init(struct aic_sdio_dev *sdiodev)
      |     ^~~~~~~~~~~~
  CC [M]  /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_txq.o
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_bsp/aicsdio.c:227:6: warning: no previous prototype for ‘aicbsp_get_load_fw_in_fdrv’ [-Wmissing-prototypes]
  227 | bool aicbsp_get_load_fw_in_fdrv(void){
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_bsp/aicsdio.c:605:5: warning: no previous prototype for ‘aicwf_sdio_readb’ [-Wmissing-prototypes]
  605 | int aicwf_sdio_readb(struct aic_sdio_dev *sdiodev, uint regaddr, u8 *val)
      |     ^~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_bsp/aicsdio.c:614:5: warning: no previous prototype for ‘aicwf_sdio_readb_func2’ [-Wmissing-prototypes]
  614 | int aicwf_sdio_readb_func2(struct aic_sdio_dev *sdiodev, uint regaddr, u8 *val)
      |     ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_bsp/aicsdio.c:632:5: warning: no previous prototype for ‘aicwf_sdio_writeb_func2’ [-Wmissing-prototypes]
  632 | int aicwf_sdio_writeb_func2(struct aic_sdio_dev *sdiodev, uint regaddr, u8 val)
      |     ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_bsp/aicsdio.c:679:5: warning: no previous prototype for ‘aicwf_sdio_send_msg’ [-Wmissing-prototypes]
  679 | int aicwf_sdio_send_msg(struct aic_sdio_dev *sdiodev, u8 *buf, uint count)
      |     ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_bsp/aicsdio.c:731:5: warning: no previous prototype for ‘aicwf_sdio_wakeup’ [-Wmissing-prototypes]
  731 | int aicwf_sdio_wakeup(struct aic_sdio_dev *sdiodev)
      |     ^~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_bsp/aicsdio.c:783:5: warning: no previous prototype for ‘aicwf_sdio_sleep_allow’ [-Wmissing-prototypes]
  783 | int aicwf_sdio_sleep_allow(struct aic_sdio_dev *sdiodev)
      |     ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_bsp/aicsdio.c:908:17: warning: no previous prototype for ‘aicwf_sdio_readframes’ [-Wmissing-prototypes]
  908 | struct sk_buff *aicwf_sdio_readframes(struct aic_sdio_dev *sdiodev, u8 msg)
      |                 ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_bsp/aicsdio.c:1592:6: warning: no previous prototype for ‘aicwf_sdio_release_func2’ [-Wmissing-prototypes]
 1592 | void aicwf_sdio_release_func2(struct aic_sdio_dev *sdiodev)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_bsp/aicsdio.c:1932:6: warning: no previous prototype for ‘get_fw_path’ [-Wmissing-prototypes]
 1932 | void get_fw_path(char* fw_path){
      |      ^~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_bsp/aicsdio.c:1940:5: warning: no previous prototype for ‘get_testmode’ [-Wmissing-prototypes]
 1940 | int get_testmode(void){
      |     ^~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_bsp/aicsdio.c:1944:19: warning: no previous prototype for ‘get_sdio_func’ [-Wmissing-prototypes]
 1944 | struct sdio_func *get_sdio_func(void){
      |                   ^~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_bsp/aicsdio.c:1948:6: warning: no previous prototype for ‘set_irq_handler’ [-Wmissing-prototypes]
 1948 | void set_irq_handler(void *fn){
      |      ^~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_rx.c:328:6: warning: no previous prototype for ‘rwnx_rx_data_skb_resend’ [-Wmissing-prototypes]
  328 | void rwnx_rx_data_skb_resend(struct rwnx_hw *rwnx_hw, struct rwnx_vif *rwnx_vif,
      |      ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_rx.c:1377:5: warning: no previous prototype for ‘reord_flush_tid’ [-Wmissing-prototypes]
 1377 | int reord_flush_tid(struct aicwf_rx_priv *rx_priv, struct sk_buff *skb, u8 tid)
      |     ^~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_rx.c:1584:6: warning: no previous prototype for ‘reord_rxframes_process’ [-Wmissing-prototypes]
 1584 | bool reord_rxframes_process(struct aicwf_rx_priv *rx_priv, struct reord_ctrl *preorder_ctrl, int bforced)
      |      ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_rx.c:1620:6: warning: no previous prototype for ‘reord_rxframes_ind’ [-Wmissing-prototypes]
 1620 | void reord_rxframes_ind(struct aicwf_rx_priv *rx_priv,
      |      ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_rx.c:1694:5: warning: no previous prototype for ‘reord_process_unit’ [-Wmissing-prototypes]
 1694 | int reord_process_unit(struct aicwf_rx_priv *rx_priv, struct sk_buff *skb, u16 seq_num, u8 tid, u8 forward, u8 is_amsdu)
      |     ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_rx.c:1881:6: warning: no previous prototype for ‘remove_sec_hdr_mgmt_frame’ [-Wmissing-prototypes]
 1881 | void remove_sec_hdr_mgmt_frame(struct hw_rxhdr *hw_rxhdr, struct sk_buff *skb)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_rx.c:1904:6: warning: no previous prototype for ‘defrag_timeout_cb’ [-Wmissing-prototypes]
 1904 | void defrag_timeout_cb(struct timer_list *t)
      |      ^~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_main.o
  CC [M]  /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_bsp/md5.o
  CC [M]  /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_bsp/aicwf_txq_prealloc.o
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_txq.c:161:6: warning: no previous prototype for ‘rwnx_txq_flush’ [-Wmissing-prototypes]
  161 | void rwnx_txq_flush(struct rwnx_hw *rwnx_hw, struct rwnx_txq *txq)
      |      ^~~~~~~~~~~~~~
In file included from ./include/linux/string.h:390,
                 from ./include/linux/dma-mapping.h:7,
                 from /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_rx.c:10:
In function ‘fortify_memcpy_chk’,
    inlined from ‘rwnx_rx_add_rtap_hdr’ at /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_rx.c:1210:3,
    inlined from ‘rwnx_rx_monitor’ at /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_rx.c:1250:2,
    inlined from ‘rwnx_rxdataind_aicwf’ at /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_rx.c:2092:7:
./include/linux/fortify-string.h:571:25: warning: call to ‘__write_overflow_field’ declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Wattribute-warning]
  571 |                         __write_overflow_field(p_size_field, size);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_mod_params.o
  CC [M]  /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_mesh.o
  CC [M]  /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_platform.o
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_main.c:847:6: warning: no previous prototype for ‘rwnx_update_mesh_power_mode’ [-Wmissing-prototypes]
  847 | void rwnx_update_mesh_power_mode(struct rwnx_vif *vif)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_main.c:1468:14: warning: no previous prototype for ‘command_strtoul’ [-Wmissing-prototypes]
 1468 | unsigned int command_strtoul(const char *cp, char **endp, unsigned int base)
      |              ^~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_main.c:1502:5: warning: no previous prototype for ‘handle_private_cmd’ [-Wmissing-prototypes]
 1502 | int handle_private_cmd(struct net_device *net, char *command, u32 cmd_len)
      |     ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_main.c:2415:5: warning: no previous prototype for ‘android_priv_cmd’ [-Wmissing-prototypes]
 2415 | int android_priv_cmd(struct net_device *net, struct ifreq *ifr, int cmd)
      |     ^~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_defs.h:35,
                 from /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_main.c:26:
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_compat.h:408:9: warning: no previous prototype for ‘rwnx_select_queue’ [-Wmissing-prototypes]
  408 |         rwnx_select_queue(dev, skb, sb_dev)
      |         ^~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_main.c:2824:5: note: in expansion of macro ‘rwnx_select_queue’
 2824 | u16 rwnx_select_queue(struct net_device *dev, struct sk_buff *skb,
      |     ^~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_main.c:3096:6: warning: no previous prototype for ‘aicwf_p2p_alive_timeout’ [-Wmissing-prototypes]
 3096 | void aicwf_p2p_alive_timeout(struct timer_list *t)
      |      ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_main.c:4350:6: warning: no previous prototype for ‘apm_staloss_work_process’ [-Wmissing-prototypes]
 4350 | void apm_staloss_work_process(struct work_struct *work)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_main.c:4460:6: warning: no previous prototype for ‘apm_probe_sta_work_process’ [-Wmissing-prototypes]
 4460 | void apm_probe_sta_work_process(struct work_struct *work)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_main.c:4909:5: warning: no previous prototype for ‘rwnx_cfg80211_probe_client’ [-Wmissing-prototypes]
 4909 | int rwnx_cfg80211_probe_client(struct wiphy *wiphy, struct net_device *dev,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_main.c:4946:6: warning: no previous prototype for ‘rwnx_cfg80211_mgmt_frame_register’ [-Wmissing-prototypes]
 4946 | void rwnx_cfg80211_mgmt_frame_register(struct wiphy *wiphy,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_main.c:5502:5: warning: no previous prototype for ‘rwnx_cfg80211_channel_switch’ [-Wmissing-prototypes]
 5502 | int rwnx_cfg80211_channel_switch (struct wiphy *wiphy,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_main.c:5831:5: warning: no previous prototype for ‘rwnx_cfg80211_change_bss’ [-Wmissing-prototypes]
 5831 | int rwnx_cfg80211_change_bss(struct wiphy *wiphy, struct net_device *dev,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_main.c:6582:34: error: initialization of ‘int (*)(struct wiphy *, struct net_device *, struct cfg80211_chan_def *, u32,  int)’ {aka ‘int (*)(struct wiphy *, struct net_device *, struct cfg80211_chan_def *, unsigned int,  int)’} from incompatible pointer type ‘int (*)(struct wiphy *, struct net_device *, struct cfg80211_chan_def *, u32)’ {aka ‘int (*)(struct wiphy *, struct net_device *, struct cfg80211_chan_def *, unsigned int)’} [-Werror=incompatible-pointer-types]
 6582 |         .start_radar_detection = rwnx_cfg80211_start_radar_detection,
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_main.c:6582:34: note: (near initialization for ‘rwnx_cfg80211_ops.start_radar_detection’)
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_main.c:6698:5: warning: no previous prototype for ‘rwnx_ic_system_init’ [-Wmissing-prototypes]
 6698 | int rwnx_ic_system_init(struct rwnx_hw *rwnx_hw){
      |     ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_main.c:6749:5: warning: no previous prototype for ‘rwnx_ic_rf_init’ [-Wmissing-prototypes]
 6749 | int rwnx_ic_rf_init(struct rwnx_hw *rwnx_hw){
      |     ^~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_bsp/aicwf_txq_prealloc.c:14:7: warning: no previous prototype for ‘aicwf_prealloc_txq_alloc’ [-Wmissing-prototypes]
   14 | void *aicwf_prealloc_txq_alloc(size_t size)
      |       ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_bsp/aicwf_txq_prealloc.c:51:6: warning: no previous prototype for ‘aicwf_prealloc_txq_free’ [-Wmissing-prototypes]
   51 | void aicwf_prealloc_txq_free(void)
      |      ^~~~~~~~~~~~~~~~~~~~~~~
  LD [M]  /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_bsp/aic8800_bsp.o
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_mod_params.c:277:6: warning: no previous prototype for ‘rwnx_get_countrycode_channels’ [-Wmissing-prototypes]
  277 | void rwnx_get_countrycode_channels(struct wiphy *wiphy,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_mod_params.c:320:29: warning: no previous prototype for ‘getRegdomainFromRwnxDBIndex’ [-Wmissing-prototypes]
  320 | struct ieee80211_regdomain *getRegdomainFromRwnxDBIndex(struct wiphy *wiphy,
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_mod_params.c:339:29: warning: no previous prototype for ‘getRegdomainFromRwnxDB’ [-Wmissing-prototypes]
  339 | struct ieee80211_regdomain *getRegdomainFromRwnxDB(struct wiphy *wiphy,
      |                             ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_platform.c:440:5: warning: no previous prototype for ‘rwnx_request_firmware_common’ [-Wmissing-prototypes]
  440 | int rwnx_request_firmware_common(struct rwnx_hw *rwnx_hw, u32** buffer, const char *filename)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_platform.c:462:6: warning: no previous prototype for ‘rwnx_release_firmware_common’ [-Wmissing-prototypes]
  462 | void rwnx_release_firmware_common(u32** buffer)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_platform.c:477:5: warning: no previous prototype for ‘rwnx_plat_bin_fw_upload_2’ [-Wmissing-prototypes]
  477 | int rwnx_plat_bin_fw_upload_2(struct rwnx_hw *rwnx_hw, u32 fw_addr,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_pci.o
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_platform.c:736:5: warning: no previous prototype for ‘rwnx_atoi’ [-Wmissing-prototypes]
  736 | int rwnx_atoi(char *value)
      |     ^~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_platform.c:763:6: warning: no previous prototype for ‘rwnx_plat_nvram_set_value’ [-Wmissing-prototypes]
  763 | void rwnx_plat_nvram_set_value(char *command, char *value)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_platform.c:883:6: warning: no previous prototype for ‘rwnx_plat_nvram_set_value_v3’ [-Wmissing-prototypes]
  883 | void rwnx_plat_nvram_set_value_v3(char *command, char *value)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_platform.c:1150:6: warning: no previous prototype for ‘rwnx_plat_userconfig_parsing2’ [-Wmissing-prototypes]
 1150 | void rwnx_plat_userconfig_parsing2(char *buffer, int size)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_platform.c:1212:6: warning: no previous prototype for ‘rwnx_plat_userconfig_parsing3’ [-Wmissing-prototypes]
 1212 | void rwnx_plat_userconfig_parsing3(char *buffer, int size)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_platform.c:1277:6: warning: no previous prototype for ‘rwnx_plat_userconfig_parsing’ [-Wmissing-prototypes]
 1277 | void rwnx_plat_userconfig_parsing(struct rwnx_hw *rwnx_hw, char *buffer, int size)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_platform.c:1497:5: warning: no previous prototype for ‘rwnx_plat_userconfig_upload_android’ [-Wmissing-prototypes]
 1497 | int rwnx_plat_userconfig_upload_android(struct rwnx_hw *rwnx_hw, char *fw_path, char *filename)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_dini.o
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_pci.c:85:5: warning: no previous prototype for ‘rwnx_pci_register_drv’ [-Wmissing-prototypes]
   85 | int rwnx_pci_register_drv(void)
      |     ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_pci.c:90:6: warning: no previous prototype for ‘rwnx_pci_unregister_drv’ [-Wmissing-prototypes]
   90 | void rwnx_pci_unregister_drv(void)
      |      ^~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_v7.o
  CC [M]  /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/ipc_host.o
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_dini.c:104:5: warning: no previous prototype for ‘rwnx_cfpga_irq_enable’ [-Wmissing-prototypes]
  104 | int rwnx_cfpga_irq_enable(struct rwnx_hw *rwnx_hw)
      |     ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_dini.c:128:5: warning: no previous prototype for ‘rwnx_cfpga_irq_disable’ [-Wmissing-prototypes]
  128 | int rwnx_cfpga_irq_disable(struct rwnx_hw *rwnx_hw)
      |     ^~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_tdls.o
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:229: /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv/rwnx_main.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [scripts/Makefile.build:478: /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800/aic8800_fdrv] Error 2
make[1]: *** [/usr/src/linux-headers-6.12.17-current-rockchip64/Makefile:1932: /var/lib/dkms/aic8800-sdio/3.0+git20240327.3561b08f-3/build/SDIO/driver_fw/driver/aic8800] Error 2
make: *** [Makefile:224: __sub-make] Error 2
make: Leaving directory '/usr/src/linux-headers-6.12.17-current-rockchip64'

 

Edited by north1
Posted

Hello. I tested this now and can confirm that wifi is up and running again (6.12.17). Thank you very much for spending time on this, and for the extremely fast turnaround time. Much appreciated!

Posted

Hello, I'm new.
I have a Tenda AIC8800DC USB drive
with a proprietary driver.
I install:

git clone https://github.com/geniuskidkanyi/aic8800
cd aic8800
sudo cp -r src /usr/src/aic8800-1.0.5
sudo cp -r blobs/* /usr/lib/firmware/
dkms install aic8800/1.0.5
sudo modprobe aic8800_fdrv

then the proprietary dpkg:

dpkg -i ax300-wifi-adapter-linux-driver.deb

but its only works on 6.11.x and below.
How do I install on 6.12+ pls ?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines