You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "liqinhuixm (via GitHub)" <gi...@apache.org> on 2023/10/11 02:21:44 UTC

[PR] sim/wifidriver: Support the sim wifi. [nuttx]

liqinhuixm opened a new pull request, #10886:
URL: https://github.com/apache/nuttx/pull/10886

   ## Summary
   
     Add the Sim WiFi function, which can provide the wifi operating on nuttx sim emulator,
     and support two modes that simulate wifi, HWSIM and RNC(real network card).
   
      - In the HWSIM mode, we simulates two wlan interfaces. The wlan0 is STA and
      the wlan1 is AP. The wlan0 can connect to the wlan1 in the nuttx simulator.
      - In the RNC mode, we can use the same wlan interface name on the nuttx simulator
      to control the connection behavior of the real wireless card.
   
   ## Impact
   
   We can debug and verify the WiFi-related applications on the sim.
   
   ## Testing
   
   We insert a wireless network card named wlx1cbfce6e7f96, then do the following steps:
     - Host: 
         sudo ./tools/simwifi/sim_wifi.sh init eno1 RNC 
         sudo ./tools/simwifi/sim_wifi.sh  rename  wlx1cbfce6e7f96 wlan0
   
     - Sim:
        ifup wlan0
        wapi mode wlan0 2
        wapi scan wlan0
        wapi psk wlan0 12345678 3
        wapi essid wlan0 1
        wapi show wlan0
        
   ##Usage
   
   Please refer to the tools/simwifi/README file.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] sim/wifidriver: Support the sim wifi. [nuttx]

Posted by "liqinhuixm (via GitHub)" <gi...@apache.org>.
liqinhuixm commented on PR #10886:
URL: https://github.com/apache/nuttx/pull/10886#issuecomment-1756968682

   > please add commit message(copy PR message)
   
   Done


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] sim/wifidriver: Support the sim wifi. [nuttx]

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 merged PR #10886:
URL: https://github.com/apache/nuttx/pull/10886


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org