Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-114336

Calling QNetworkInterface::allInterfaces() causes a kernel warning on Linux 6.3.6 when WiFi interfaces are present

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.9, 6.5.1
    • Network
    • None
    • Linux/X11

    Description

      Running the following program :

      #include <QNetworkInterface>
      #include <QDebug>
      
      int main()
      {
        for(auto &&iface : QNetworkInterface::allInterfaces()) {
          qDebug() << iface << iface.type();
        }
      }
      

      produces correct output, but leads to the following kernel warning on Linux 6.3.6 :

      warning: `foobar' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211
      

      The culprit is most probably the SIOCGIWMODE ioctl issued here : Qt6 , Qt5.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            manordheim MÃ¥rten Nordheim
            xavery Daniel Kozar
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes