You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ma...@apache.org on 2020/11/02 10:59:16 UTC

[incubator-nuttx-apps] branch master updated: gs2200m: Add function to get IWNWID / IWFREQ / IWSENS information

This is an automated email from the ASF dual-hosted git repository.

masayuki pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new 0f4ad7d  gs2200m: Add function to get IWNWID / IWFREQ / IWSENS information
0f4ad7d is described below

commit 0f4ad7dc5fc9a6002c7d7147d8f7345a17a01a00
Author: Masatoshi Ueno <Ma...@sony.com>
AuthorDate: Mon Nov 2 18:45:32 2020 +0900

    gs2200m: Add function to get IWNWID / IWFREQ / IWSENS information
    
    Summary:
    - This commit enables gs2200m application to get IWNWID/IWFREQ/IWSENS information
    
    Impact:
    - Affects gs2200m only
    
    Testing:
    - Tested with spresense:wifi
---
 wireless/gs2200m/gs2200m_main.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/wireless/gs2200m/gs2200m_main.c b/wireless/gs2200m/gs2200m_main.c
index 5865aaf..2237368 100644
--- a/wireless/gs2200m/gs2200m_main.c
+++ b/wireless/gs2200m/gs2200m_main.c
@@ -42,6 +42,7 @@
 #include <net/if.h>
 
 #include <nuttx/net/usrsock.h>
+#include <nuttx/wireless/wireless.h>
 #include <nuttx/wireless/gs2200m.h>
 
 /****************************************************************************
@@ -1518,6 +1519,9 @@ static int ioctl_request(int fd, FAR struct gs2200m_s *priv,
     {
       case SIOCGIFADDR:
       case SIOCGIFHWADDR:
+      case SIOCGIWNWID:
+      case SIOCGIWFREQ:
+      case SIOCGIWSENS:
         getreq = true;
         break;