26 #ifndef WPASUPINTERACT_H
27 #define WPASUPINTERACT_H
111 explicit WpaSup(
const bool debugCmd =
false,
112 const QMap<QString, QString> settings = QMap<QString, QString>());
173 Netctl *netctlCommand =
nullptr;
189 QString ctrlDir = QString(CTRL_DIR);
193 QString ctrlGroup = QString(CTRL_GROUP);
197 QString pidFile = QString(PID_FILE);
201 QString sudoCommand = QString(SUDO_PATH);
205 QString wpaCliPath = QString(WPACLI_PATH);
209 QString wpaDrivers = QString(WPA_DRIVERS);
213 QString wpaSupPath = QString(WPASUP_PATH);
220 QString getWpaCliOutput(
const QString commandLine);
225 bool waitForProcess(
const int sec);
232 bool wpaCliCall(
const QString commandLine);
Definition: wpasupinteract.h:55
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:80
QString name
Definition: wpasupinteract.h:82
QString security
Definition: wpasupinteract.h:83
The NetctlProfile class interacts with netctl profiles.
Definition: netctlprofile.h:39
Definition: wpasupinteract.h:53
Definition: wpasupinteract.h:54
bool isProfileActive(const QString essid)
method which checks profile status by ESSID
The Netctl class interacts with netctl.
Definition: netctlinteract.h:73
PointType
WiFi point type.
Definition: wpasupinteract.h:51
~WpaSup()
WpaSup class destructor.
QString existentProfile(const QString essid)
method which gets profile name by ESSID
Definition: wpasupinteract.h:52
QStringList macs
Definition: wpasupinteract.h:81
bool startWpaSupplicant()
method which calls wpa_supplicant
The WpaSup class interacts with wpa_supplicant.
Definition: wpasupinteract.h:93
WiFi information structure.
Definition: wpasupinteract.h:78
static QMap< QString, QString > getRecommendedConfiguration()
method which check system configuration and return recommended values to keys