26 #ifndef WPASUPINTERACT_H
27 #define WPASUPINTERACT_H
109 explicit WpaSup(
const bool debugCmd =
false,
110 const QMap<QString, QString> settings = QMap<QString, QString>());
171 Netctl *netctlCommand =
nullptr;
187 QString ctrlDir = QString(
"/run/wpa_supplicant");
191 QString ctrlGroup = QString(
"users");
195 QString pidFile = QString(
"/run/wpa_supplicant_$i.pid");
199 QString sudoCommand = QString(
"/usr/bin/kdesu");
203 QString wpaCliPath = QString(
"/usr/bin/wpa_cli");
207 QString wpaDrivers = QString(
"nl80211,wext");
211 QString wpaSupPath = QString(
"/usr/bin/wpa_supplicant");
218 QString getWpaCliOutput(
const QString commandLine);
223 bool waitForProcess(
const int sec);
230 bool wpaCliCall(
const QString commandLine);
Definition: wpasupinteract.h:53
bool stopWpaSupplicant()
method which send TERMINATE signal to wpa_supplicant
netctlWifiInfo current()
method which returns active point information
QList< netctlWifiInfo > scanWifi()
method which scans WiFi networks
WpaSup(const bool debugCmd=false, const QMap< QString, QString > settings=QMap< QString, QString >())
WpaSup class constructor.
Q_DECL_DEPRECATED bool isProfileExists(const QString essid)
method which checks profile existence by ESSID
QList< int > frequencies
Definition: wpasupinteract.h:78
QString name
Definition: wpasupinteract.h:80
QString security
Definition: wpasupinteract.h:81
The NetctlProfile class interacts with netctl profiles.
Definition: netctlprofile.h:37
Definition: wpasupinteract.h:51
Definition: wpasupinteract.h:52
bool isProfileActive(const QString essid)
method which checks profile status by ESSID
The Netctl class interacts with netctl.
Definition: netctlinteract.h:71
PointType
WiFi point type.
Definition: wpasupinteract.h:49
~WpaSup()
WpaSup class destructor.
QString existentProfile(const QString essid)
method which gets profile name by ESSID
Definition: wpasupinteract.h:50
QStringList macs
Definition: wpasupinteract.h:79
bool startWpaSupplicant()
method which calls wpa_supplicant
The WpaSup class interacts with wpa_supplicant.
Definition: wpasupinteract.h:91
WiFi information structure.
Definition: wpasupinteract.h:76
static QMap< QString, QString > getRecommendedConfiguration()
method which check system configuration and return recommended values to keys