anchao opened a new pull request, #6464:
URL: https://github.com/apache/incubator-nuttx/pull/6464

   ## Summary
   
   wireless/bcm43xxx: add more ioctl command support
   
    Support command:
      SIOCGIWFREQ
      SIOCGIWMODE
      SIOCSIWAP
      SIOCGIWAP
      SIOCGIWESSID
      SIOCGIWRATE
      SIOCGIWTXPOW
      SIOCGIWSENS
      SIOCGIWRANGE
    
    Signed-off-by: chao.an <[email protected]>
   
   ## Impact
   
   N/A
   
   ## Testing
   
   
   ```
   Before:                                    After:
    cp> wapi show wlan0                          cp> wapi show wlan0
    wlan0 Configuration:                         wlan0 Configuration:
           IP: 192.168.31.202                           IP: 192.168.31.202
      NetMask: 255.255.255.0                       NetMask: 255.255.255.0
    ioctl(SIOCGIWFREQ): 88                       Frequency: 5785
    ERROR: wapi_get_freq() failed: -88                Flag: WAPI_FREQ_AUTO
    ioctl(SIOCGIWESSID): 88                        Channel: 157
    ERROR: wapi_get_essid() failed: -88          Frequency: 5785
    ioctl(SIOCGIWMODE): 88                           ESSID: archer5
    ERROR: wapi_get_mode() failed: -88                Flag: WAPI_ESSID_ON
    ioctl(SIOCGIWAP): 88                              Mode: WAPI_MODE_MANAGED
    ERROR: wapi_get_ap() failed: -88                    AP: ec:41:18:e0:76:7f
    ioctl(SIOCGIWRATE): 88                         BitRate: 58500
    ERROR: wapi_get_bitrate() failed: -88             Flag: WAPI_BITRATE_FIXED
    ioctl(SIOCGIWTXPOW): 88                        TxPower: 31
    ERROR: wapi_get_txpower() failed: -88             Flag: WAPI_TXPOWER_DBM
    ioctl(SIOCGIWSENS): 25                           Sense: -17
   
   ```
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to