Merge ~sylvain-pineau/plainbox-provider-resource:wireless_sta_protocol into plainbox-provider-resource:master

Proposed by Sylvain Pineau
Status: Merged
Approved by: Sylvain Pineau
Approved revision: ee7399e5d2a6fc50c8f429e251150421bc67ce38
Merged at revision: 0c9d28d39e6bac9f26bd914edc043948c2fa596f
Proposed branch: ~sylvain-pineau/plainbox-provider-resource:wireless_sta_protocol
Merge into: plainbox-provider-resource:master
Diff against target: 22 lines (+11/-0)
1 file modified
jobs/resource.pxu (+11/-0)
Reviewer Review Type Date Requested Status
Jonathan Cave (community) Approve
Review via email: mp+335547@code.launchpad.net

Description of the change

Fixing my own mistake...

I removed this resource while cleaning up the snappy provider.
https://code.launchpad.net/~sylvain-pineau/plainbox-provider-snappy/+git/plainbox-provider-snappy/+merge/333467

To post a comment you must log in.
Revision history for this message
Jonathan Cave (jocave) wrote :

+1

I hadn't noticed this was lost either.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/jobs/resource.pxu b/jobs/resource.pxu
2index 9598aad..f6b1a91 100644
3--- a/jobs/resource.pxu
4+++ b/jobs/resource.pxu
5@@ -267,6 +267,17 @@ plugin: resource
6 command: 80211_resource
7 _description: Creates resource info for wifi supported protocols/interfaces
8
9+id: wireless_sta_protocol
10+plugin: resource
11+_summary: Resource job to identify Wi-Fi STA supported protocols
12+_description:
13+ Job listing STA supported protocols (802.11n, 802.11ac) per interfaces.
14+command:
15+ for i in `iw dev | grep -oP 'Interface\s+\K\w+'`; do iw phy phy$(iw dev $i info | grep -oP 'wiphy\s+\K\d+') info | grep -q 'VHT' && echo $i"_ac: supported"; done
16+ for i in `iw dev | grep -oP 'Interface\s+\K\w+'`; do iw phy phy$(iw dev $i info | grep -oP 'wiphy\s+\K\d+') info | grep -q 'HT Capa' && echo $i"_n: supported"; done
17+estimated_duration: 0.5
18+flags: preserve-locale
19+
20 id: rtc
21 estimated_duration: 0.02
22 plugin: resource

Subscribers

People subscribed via source and target branches