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
This commit is contained in:
Masatoshi Ueno 2020-11-02 18:45:32 +09:00 committed by Masayuki Ishikawa
parent e6e435572b
commit 0f4ad7dc5f

View File

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