#!/bin/bash

KVER=4.7

# Refresh ath10k for 4.7 kernel
cp -ar ~/git/linux-$KVER.dev.y/drivers/net/wireless/ath/ath10k ./

# And for 4.4 kernel
KVER=4.4
cp -ar ~/git/linux-$KVER.dev.y/drivers/net/wireless/ath/ath10k/* ./ath10k-$KVER

# And for 4.9 kernel
KVER=4.9
cp -ar ~/git/linux-$KVER.dev.y/drivers/net/wireless/ath/ath10k/* ./ath10k-$KVER

# And for 4.13 kernel
KVER=4.13
cp -ar ~/git/linux-$KVER.dev.y/drivers/net/wireless/ath/ath10k/* ./ath10k-$KVER

# And for 4.16 kernel
KVER=4.16
mkdir -p ./ath10k-$KVER
cp -ar ~/git/linux-$KVER.dev.y/drivers/net/wireless/ath/ath10k/* ./ath10k-$KVER

# And for 4.19 kernel
KVER=4.19
mkdir -p ./ath10k-$KVER
cp -ar ~/git/linux-$KVER.dev.y/drivers/net/wireless/ath/ath10k/* ./ath10k-$KVER

# And for 4.20 kernel
KVER=4.20
mkdir -p ./ath10k-$KVER
cp -ar ~/git/linux-$KVER.dev.y/drivers/net/wireless/ath/ath10k/* ./ath10k-$KVER

# And for 5.2 kernel
KVER=5.2
mkdir -p ./ath10k-$KVER
cp -ar ~/git/linux-$KVER.dev.y/drivers/net/wireless/ath/ath10k/* ./ath10k-$KVER

# And for 5.4 kernel
KVER=5.4
mkdir -p ./ath10k-$KVER
cp -ar ~/git/linux-$KVER.dev.y/drivers/net/wireless/ath/ath10k/* ./ath10k-$KVER

# And for 5.7 kernel
KVER=5.7
mkdir -p ./ath10k-$KVER
cp -ar ~/git/linux-$KVER.dev.y/drivers/net/wireless/ath/ath10k/* ./ath10k-$KVER


# And for 5.8 kernel
KVER=5.8
mkdir -p ./ath10k-$KVER
cp -ar ~/git/linux-$KVER.dev.y/drivers/net/wireless/ath/ath10k/* ./ath10k-$KVER

# And for 5.10 kernel
KVER=5.10
mkdir -p ./ath10k-$KVER
cp -ar ~/git/linux-$KVER.dev.y/drivers/net/wireless/ath/ath10k/* ./ath10k-$KVER

# And for 5.11 kernel
KVER=5.11
mkdir -p ./ath10k-$KVER
cp -ar ~/git/linux-$KVER.dev.y/drivers/net/wireless/ath/ath10k/* ./ath10k-$KVER


# And for 5.12 kernel
KVER=5.12
mkdir -p ./ath10k-$KVER
cp -ar ~/git/linux-$KVER.dev.y/drivers/net/wireless/ath/ath10k/* ./ath10k-$KVER

# And for 5.13 kernel
KVER=5.13
mkdir -p ./ath10k-$KVER
cp -ar ~/git/linux-$KVER.dev.y/drivers/net/wireless/ath/ath10k/* ./ath10k-$KVER

# And for 5.15 kernel
KVER=5.15
mkdir -p ./ath10k-$KVER
cp -ar ~/git/linux-$KVER.dev.y/drivers/net/wireless/ath/ath10k/* ./ath10k-$KVER

# And for 5.17 kernel
KVER=5.17
mkdir -p ./ath10k-$KVER
cp -ar ~/git/linux-$KVER.dev.y/drivers/net/wireless/ath/ath10k/* ./ath10k-$KVER

# And for 5.19 kernel
KVER=5.19
mkdir -p ./ath10k-$KVER
cp -ar ~/git/linux-$KVER.dev.y/drivers/net/wireless/ath/ath10k/* ./ath10k-$KVER

# And for 6.2 kernel
KVER=6.2
mkdir -p ./ath10k-$KVER
cp -ar ~/git/linux-$KVER.dev.y/drivers/net/wireless/ath/ath10k/* ./ath10k-$KVER

# And for 6.4 kernel
KVER=6.4
mkdir -p ./ath10k-$KVER
cp -ar ~/git/linux-$KVER.dev.y/drivers/net/wireless/ath/ath10k/* ./ath10k-$KVER


