#!/bin/sh CPUS_ONLINE=$(lscpu --online -p=cpu|grep -v -e '#') #use last CPU for host. Why not the first? #many devices tend to use cpu0 by default so #it tends to be busier HOST_AFFINITY=$(echo "${CPUS_ONLINE}"|tail -n 1) #run command on all cpus for cpu in $CPUS_ONLINE do #Don't run guest and host on same CPU #It actually works ok if using signalling if (echo "$@" | grep -e "--sleep" > /dev/null) || \ test $HOST_AFFINITY '!=' $cpu then echo "GUEST AFFINITY $cpu" "$@" --host-affinity $HOST_AFFINITY --guest-affinity $cpu fi done echo "NO GUEST AFFINITY" "$@" --host-affinity $HOST_AFFINITY echo "NO AFFINITY" "$@" rowspan='2'>cgit logo index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>2016-12-27 20:53:35 +0530
committerKalle Valo <kvalo@qca.qualcomm.com>2016-12-30 11:18:50 +0200
commit34c30b0a5e97e3f9e1e166f56654a1261b722611 (patch)
treed1c54c5fb201bca6ef50460d3c776c19e21a7190
parenta7773b5db155fb5ccdbd381d778c08bea35dab31 (diff)
ath10k: enable advertising support for channel 169, 5Ghz
Enable advertising support for channel 169, 5Ghz so that based on the regulatory domain(country code) this channel shall be active for use. For example in countries like India this channel shall be available for use with latest regulatory updates Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qti.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat