rmat_wifi_encryption(info)
        if info.wep == true then
            return translate("WEP")
        elseif info.wpa > 0 then
            return "%s (%s/%s)" %{wpa_label[info.wpa], table.concat(info.auth_suites), table.concat(info.group_ciphers)}
        elseif info.enabled then
            return translate("Unknown")
        else
            return translate("Open")
        end
    end

    function percent_wifi_signal(info)
        local qc = info.quality or 0
        local qm = info.quality_max or 0
 