3 Replies Latest reply on Apr 16, 2020 1:07 AM by RaktimR_11

    RSSI in monitor mode

    SaSh_283021

      Hello,

       

      I am using CYW43907 in monitor mode. I am able to get all the management frames. I am getting all data I want, expect RSSI.

       

      Can you please help me to get RSSI of the packet in monitor mode?

       

      Thanks,

      Sapan Shah

        • 1. Re: RSSI in monitor mode
          RaktimR_11

          Hi Sapan,

           

          I assume you are talking about parsing the radiotap or equivalent header which usually prepends the 802.11 frame (around 32 bytes before the header). Since this is not a part of 802.11 frame, WICED does not have the ability to detect the metadata (Read radiotap like header) and parse the same.

           

          If you additionally want to get the rssi without entering the monitor mode, you can check the snip.scan example for possible understanding on how to do this. Also there are a couple of APIs as well to do the same. Please check if that serves your purpose.

           

          wwd_wifi_get_rssi( int32_t* rssi );

          wwd_wifi_get_ap_client_rssi( int32_t* rssi, const wiced_mac_t* client_mac_addr );

           

          The declaration and how-to-use of the mentioned APIs can be found in 43xxx_Wi-Fi/WICED/WWD/include/wwd_wifi.h

          • 2. Re: RSSI in monitor mode
            SaSh_283021

            Thank you for your response.

             

            The scan will not give me all management frame which i can parse.

             

            I want to get RSSI of each probe requests, probe responses and beacon frames received by module.

             

            How can I get that?

            • 3. Re: RSSI in monitor mode
              RaktimR_11

              I am sorry but there is no easy way for you to capture the RSSI of each probe requests, responses and beacon frames received by the module. Since radiotap-header is prepended to an 802.11 hdr, WICED won't be able to parse it.

               

              The only other option that you have is to use the wwd_wifi_get_rssi API (this utilizes a PHY layer feature) for beacon frames and for probe request/response frames after you exit the monitor mode.

              1 of 1 people found this helpful